mirror of
https://github.com/moparisthebest/mail
synced 2024-12-22 15:28:49 -05:00
make nav css transition more stable on iOS
This commit is contained in:
parent
aff3854cb9
commit
f0b1d7934d
@ -73,6 +73,7 @@
|
||||
}
|
||||
&__main {
|
||||
height: 100%;
|
||||
transform: translateZ(0);
|
||||
|
||||
@include respond-to(lg) {
|
||||
position: absolute;
|
||||
@ -85,6 +86,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Animation
|
||||
@include respond-to(not-lg) {
|
||||
will-change: transform;
|
||||
transform-style: preserve-3d;
|
||||
transition: transform 0.15s ease-out;
|
||||
.app__container:after {
|
||||
will-change: transform;
|
||||
transform-style: preserve-3d;
|
||||
}
|
||||
}
|
||||
|
||||
// Modifier to open sidebar
|
||||
&--show-aside {
|
||||
@include respond-to(not-lg) {
|
||||
@ -94,15 +106,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Animation
|
||||
@include respond-to(not-lg) {
|
||||
will-change: transform;
|
||||
transform-style: preserve3d;
|
||||
transition: transform 0.15s ease-out;
|
||||
.app__container:after {
|
||||
will-change: transform;
|
||||
transform-style: preserve3d;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user