Fix RTL for sidebar menu

This commit is contained in:
Daniel 2021-05-16 00:12:47 +05:30
parent a84c1ee098
commit 060f9082a6
2 changed files with 5 additions and 4 deletions

View file

@ -9,6 +9,7 @@
.right { .right {
@include transition(transform $transition-fn $transition-speed); @include transition(transform $transition-fn $transition-speed);
transform: none #{"/*rtl:rotate(-180deg)*/"};
} }
} }
@ -57,7 +58,7 @@
> .nav-link { > .nav-link {
svg.right, svg.right,
i.right { i.right {
@include rotate(-90deg); transform: rotate(-90deg) #{"/*rtl:rotate(-90deg)*/"};
} }
} }
} }

View file

@ -16,9 +16,9 @@
// #{$property}: calc(#{$expression}); // #{$property}: calc(#{$expression});
// } // }
@mixin rotate($value) { // @mixin rotate($value) {
transform: rotate($value); // transform: rotate($value);
} // }
// @mixin animation($animation) { // @mixin animation($animation) {
// animation: $animation; // animation: $animation;