Fix menu with autosizing.

This commit is contained in:
Lena Schimmel 2019-07-12 03:03:47 +02:00
parent 6d3c64eea2
commit 72487042aa

View file

@ -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;