Skip to content

Commit ec5dc08

Browse files
authored
Merge pull request #6054 from IgniteUI/fix-#6053-master
fix(switch): move the "-" in the correct mixin
2 parents 9e95189 + ceffcd4 commit ec5dc08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/core/styles/components/switch/_switch-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,11 @@
275275
transition: $input-transition;
276276

277277
@include if-ltr() {
278-
transform: translateX(-#{rem($switch-off-offset)});
278+
transform: translateX(#{rem($switch-off-offset)});
279279
}
280280

281281
@include if-rtl() {
282-
transform: translateX(#{rem($switch-off-offset)});
282+
transform: translateX(-#{rem($switch-off-offset)});
283283
}
284284

285285
&:hover {

0 commit comments

Comments
 (0)