Fix modal issues in smooth transition

This commit is contained in:
oitsjustjose 2020-07-27 03:26:50 +00:00
commit 69b3442f03

View file

@ -69,16 +69,18 @@ nav .item:first-of-type {
border-bottom-left-radius: 16px; border-bottom-left-radius: 16px;
} }
section { section:not(.shown), section:not(.shown) * {
max-height: 0; position: absolute;
opacity: 0; top: -9999em;
transition: opacity ease-in-out 150ms; max-height: 0 !important;
visibility: hidden;
opacity: 0 !important;
transition: opacity ease-in-out 300ms;
} }
.shown{ .shown, .shown * {
max-height: auto; opacity: 1 !important;
opacity: 1; transition: ease-in-out 300ms;
transition: ease-in-out 150ms;
} }
.card .versions { .card .versions {