Fix mobile navbars not working
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 58s

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

View file

@ -45,3 +45,17 @@ ul > li > ul::before {
opacity: 0.3;
left: -16px;
}
.VPSidebar {
opacity: 1 !important;
}
/* 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;
}