fix: toggle visibility on mobile nav (#93)

This commit is contained in:
Robert Kaussow 2021-09-22 21:52:07 +02:00 committed by GitHub
parent 311f01102c
commit 96a9792f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
max-height: 0; max-height: 0;
visibility: hidden;
overflow: hidden; overflow: hidden;
} }
@ -70,6 +71,7 @@
#menu-control:checked ~ .gblog-nav__list { #menu-control:checked ~ .gblog-nav__list {
max-height: 100%; max-height: 100%;
visibility: visible;
} }
#menu-control:checked ~ .gblog-nav__control { #menu-control:checked ~ .gblog-nav__control {