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

@@ -1063,9 +1063,6 @@
.table-cell {
display: table-cell;
}
.aspect-\[\.\.\.\] {
aspect-ratio: ...;
}
.aspect-\[4\/3\] {
aspect-ratio: 4/3;
}
@@ -4658,8 +4655,8 @@ body:has(#mobile-menu-toggle:checked) {
overflow: hidden;
}
@media (min-width: 853px) {
body {
position: static !important;
body:has(#mobile-menu-toggle:checked) {
overflow: visible;
}
}
#bmc-wbtn {

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