Skip to content

Commit

Permalink
fix(switch): invalid container margin in RTL (angular#9586)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
devversion authored and Frank3K committed Oct 8, 2016
1 parent 38f40cb commit bc23e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/switch/switch.scss
Expand Up @@ -44,7 +44,7 @@ md-switch {
height: $switch-height;
position: relative;
user-select: none;
@include rtl-prop(margin-right, margin-left, 8px, auto);
@include rtl-prop(margin-right, margin-left, 8px, 0px);
float: left;
}

Expand Down

0 comments on commit bc23e75

Please sign in to comment.