summaryrefslogtreecommitdiff
path: root/source/infra/css
diff options
context:
space:
mode:
authorPrefetch2023-03-14 15:45:35 +0100
committerPrefetch2023-03-14 16:03:05 +0100
commit9b9346d5e54244f3e2859c3f80e47f2de345a2ad (patch)
treeb61d5b32cd338a34d5a277281906621de1e98db3 /source/infra/css
parent7edaa33d1b9aef05fedc82375ca010461c009edf (diff)
I did an oopsie (God I hate CSS)
Diffstat (limited to 'source/infra/css')
-rw-r--r--source/infra/css/main.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/infra/css/main.css b/source/infra/css/main.css
index 898b56e..02a4d89 100644
--- a/source/infra/css/main.css
+++ b/source/infra/css/main.css
@@ -167,6 +167,7 @@ hr {
* Delay disappearance to hide flicker on mobile Firefox. */
#nav-list {
visibility: hidden;
+ max-height: 0;
transition-delay: 0.3s;
position: relative;
z-index: 1;
@@ -181,6 +182,7 @@ hr {
#nav-show:focus + #nav-list,
#nav-show:active + #nav-list {
visibility: visible;
+ max-height: 9999px;
transition-delay: 0s;
}
/* For the entries in `#nav-list' */