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

Commit eb33c37

Browse files
EladBezalelThomasBurleson
authored andcommitted
fix(checkbox): replaced inherit margin values with 0
Inherit is not the proper value, 0 should be used instead Closes #6472
1 parent 5a528b8 commit eb33c37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/checkbox/checkbox.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ md-checkbox {
2323
position: relative;
2424
min-width: $checkbox-width;
2525
min-height: $checkbox-width;
26-
@include rtl(margin-left, inherit, $checkbox-margin);
27-
@include rtl(margin-right, $checkbox-margin, inherit);
26+
@include rtl(margin-left, 0, $checkbox-margin);
27+
@include rtl(margin-right, $checkbox-margin, 0);
2828

2929
&:last-of-type {
30-
@include rtl(margin-left, inherit, 0);
31-
@include rtl(margin-right, 0, inherit);
30+
margin-left: 0;
31+
margin-right: 0;
3232
}
3333

3434
&.md-focused:not([disabled]) {

0 commit comments

Comments
 (0)