Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 985b79d

Browse files
fix(ripple): fixes ripple bug with checkboxes in lists
Reduces the ripple size slightly to prevent scrollbars from showing up in list items. Closes #679.
1 parent fca5376 commit 985b79d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/components/checkbox/_checkbox.scss

+6-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ md-checkbox {
1818
.md-ripple-container {
1919
position: absolute;
2020
display: block;
21-
width: $checkbox-width * 3;
22-
height: $checkbox-width * 3;
23-
left: -$checkbox-width;
24-
top: -$checkbox-width;
21+
width: auto;
22+
height: auto;
23+
left: -15px;
24+
top: -15px;
25+
right: -15px;
26+
bottom: -15px;
2527
}
2628
}
2729

0 commit comments

Comments
 (0)