mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-06-03 08:59:47 +02:00
fix: toggle visibility on mobile nav (#93)
This commit is contained in:
parent
311f01102c
commit
96a9792f5b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user