From 72487042aad41b6a311bf7d6c68ac518011cad64 Mon Sep 17 00:00:00 2001 From: Lena Schimmel Date: Fri, 12 Jul 2019 03:03:47 +0200 Subject: [PATCH] Fix menu with autosizing. --- web/css/main.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/css/main.css b/web/css/main.css index 10c8495..3b165b4 100755 --- a/web/css/main.css +++ b/web/css/main.css @@ -228,7 +228,7 @@ textarea { } .header .menu { clear: both; - max-height: 0; + height: 0; transition: max-height .2s ease-out; } @@ -269,7 +269,7 @@ textarea { display: none; } .header .menu-btn:checked ~ .menu { - max-height: 260px; + height: auto; } .header .menu-btn:checked ~ .menu-icon .navicon { background: transparent;