fix: fixing direction of icon for user convenience and better UI/UX in RTL mode (this commit doesn't affect UI/UX in LTR mode)

This commit is contained in:
Alimadadi 2019-11-05 12:16:58 +03:30
parent b661d5901c
commit 07ab60b08c

View file

@ -11,13 +11,15 @@
top: 1rem; top: 1rem;
@include nb-rtl(right, auto); @include nb-rtl(right, auto);
@include nb-rtl(left, 0.625rem); @include nb-rtl(left, 0.625rem);
@include nb-rtl(transform, scaleX(-1));
cursor: pointer; cursor: pointer;
} }
::ng-deep .flipped { ::ng-deep .flipped {
.back-container { .back-container {
.flip-icon { .flip-icon {
transform: scaleX(-1); @include nb-ltr(transform, scaleX(-1));
@include nb-rtl(transform, scaleX(1));
} }
} }