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

fix(switch): invalid container margin in RTL #9586

Merged
merged 1 commit into from
Sep 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/switch/switch.scss
Original file line number Diff line number Diff line change
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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: use 0 instead of 0px (minifying CSS will do this anyway)

float: left;
}

Expand Down