We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8220452 commit ad3100eCopy full SHA for ad3100e
src/lib/slide-toggle/slide-toggle.scss
@@ -8,6 +8,7 @@ $md-slide-toggle-height: 24px !default;
8
$md-slide-toggle-bar-height: 14px !default;
9
$md-slide-toggle-thumb-size: 20px !default;
10
$md-slide-toggle-margin: 16px !default;
11
+$md-slide-toggle-spacing: 8px !default;
12
13
14
@mixin md-switch-ripple() {
@@ -72,7 +73,12 @@ md-slide-toggle {
72
73
74
position: relative;
75
- margin-right: 8px;
76
+ margin-right: $md-slide-toggle-spacing;
77
+
78
+ [dir='rtl'] & {
79
+ margin-left: $md-slide-toggle-spacing;
80
+ margin-right: 0;
81
+ }
82
}
83
84
// The thumb container is responsible for the dragging functionality.
0 commit comments