fix(mobile-menu): body not scrollable

This commit is contained in:
ZhenShuo Leo committed 2026-01-02 20:09:50 +08:00
1 parent 8281d9d990
commit 287e397b82
2 files changed
+4 -7

No files matched your search

+2 -2
View File
@@ -276,8 +276,8 @@ body:has(#mobile-menu-toggle:checked) {
/* Reset body position for desktop after it was modified on mobile */
@media (min-width: 853px) {
body {
position: static !important;
body:has(#mobile-menu-toggle:checked) {
overflow: visible;
}
}