fix(mobile-menu): body not scrollable

This commit is contained in:
ZhenShuo Leo
2026-01-02 17:11:15 +08:00
parent 8281d9d990
commit 287e397b82
2 changed files with 4 additions and 7 deletions

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;
}
}