From 69b3442f0319599ea7df9ff58119559892c4b2a2 Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Mon, 27 Jul 2020 03:26:50 +0000 Subject: [PATCH] Fix modal issues in smooth transition --- Pages/V-Tweaks/index.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Pages/V-Tweaks/index.css b/Pages/V-Tweaks/index.css index 8fd02f6..765704f 100644 --- a/Pages/V-Tweaks/index.css +++ b/Pages/V-Tweaks/index.css @@ -69,16 +69,18 @@ nav .item:first-of-type { border-bottom-left-radius: 16px; } -section { - max-height: 0; - opacity: 0; - transition: opacity ease-in-out 150ms; +section:not(.shown), section:not(.shown) * { + position: absolute; + top: -9999em; + max-height: 0 !important; + visibility: hidden; + opacity: 0 !important; + transition: opacity ease-in-out 300ms; } -.shown{ - max-height: auto; - opacity: 1; - transition: ease-in-out 150ms; +.shown, .shown * { + opacity: 1 !important; + transition: ease-in-out 300ms; } .card .versions {