simplified transform
This commit is contained in:
parent
202cbd4499
commit
e3394bf8b2
1 changed files with 3 additions and 2 deletions
|
@ -55,7 +55,7 @@
|
|||
}
|
||||
|
||||
.navigation--push-back {
|
||||
transform: translateX(calc(-1 * (var(--side-nav-width) - var(--side-nav-width--micro))));
|
||||
transform: translateX(calc(var(--side-nav-width--micro) - var(--side-nav-width)));
|
||||
}
|
||||
|
||||
.navigation--push {
|
||||
|
@ -72,7 +72,8 @@
|
|||
|
||||
.navigation--micro {
|
||||
@extend .navigation;
|
||||
transform: translateX(calc(-1 * (var(--side-nav-width) - var(--side-nav-width--micro))));
|
||||
|
||||
transform: translateX(calc(var(--side-nav-width--micro) - var(--side-nav-width)));
|
||||
|
||||
@media (max-width: $breakpoint-small) {
|
||||
display: none;
|
||||
|
|
Loading…
Reference in a new issue