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

Commit b0d9921

Browse files
devversionjelbourn
authored andcommitted
fix(switch): invalid container margin in RTL (#9586)
* The switch does not properly display in RTL mode - this is due to the recent changes to the RTL mixin, which introduced a reset value. * Inside of the switch the container should have a 0px reset value
1 parent 0896ba3 commit b0d9921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/switch/switch.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ md-switch {
4444
height: $switch-height;
4545
position: relative;
4646
user-select: none;
47-
@include rtl-prop(margin-right, margin-left, 8px, auto);
47+
@include rtl-prop(margin-right, margin-left, 8px, 0px);
4848
float: left;
4949
}
5050

0 commit comments

Comments
 (0)