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 {
|
.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 {
|
.navigation--push {
|
||||||
|
@ -72,7 +72,8 @@
|
||||||
|
|
||||||
.navigation--micro {
|
.navigation--micro {
|
||||||
@extend .navigation;
|
@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) {
|
@media (max-width: $breakpoint-small) {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Loading…
Reference in a new issue