1
0
mirror of https://github.com/flarum/core.git synced 2025-08-11 10:55:47 +02:00

common: fix modal animation on mobile & tweak some transition & animation css

This commit is contained in:
David Sevilla Martin
2020-03-23 13:38:35 -04:00
parent 39dc303b80
commit 37cec1487e
4 changed files with 17 additions and 4 deletions

View File

@@ -142,13 +142,17 @@
bottom: 0;
top: 0;
overflow: auto;
will-change: transform;
animation: none !important;
display: block;
.transition-transform(0.2s);
.translate3d(0, 100vh, 0);
&.in {
-webkit-transform: none !important;
transform: none !important;
&[aria-hidden="false"] {
-webkit-transform: none;
transform: none;
}
&:before {
content: " ";
.header-background();