Skip to content

Commit 86d3553

Browse files
author
MPopov
committed
fix(switch): move the "-" in the correct mixin
Closes #6053 Signed-off-by: MPopov <[email protected]>
1 parent 41c9fa1 commit 86d3553

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
@@ -268,11 +268,11 @@
268268
transition: $input-transition;
269269

270270
@include if-ltr() {
271-
transform: translateX(-#{rem($switch-off-offset)});
271+
transform: translateX(#{rem($switch-off-offset)});
272272
}
273273

274274
@include if-rtl() {
275-
transform: translateX(#{rem($switch-off-offset)});
275+
transform: translateX(-#{rem($switch-off-offset)});
276276
}
277277

278278
&:hover {

0 commit comments

Comments
 (0)