Fix mobile navbars not working
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
thepaperpilot 2024-06-16 08:28:58 -05:00
parent 0ec297dd37
commit 8007175602

View file

@ -45,3 +45,12 @@ ul > li > ul::before {
opacity: 0.3;
left: -16px;
}
/* Required due to no JS */
button[aria-haspopup="true"]:focus + .menu {
opacity: 1 !important;
visibility: visible !important;
}
.VPLocalNav:has(button[aria-expanded="false"]:focus) + .VPSidebar {
transform: unset !important;
}