diff options
Diffstat (limited to 'source/infra')
-rw-r--r-- | source/infra/css/main.css | 2 |
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' */ |