Merge pull request #2698 from ZhenShuo2021/fix/menu

🐛 Fix(mobile-menu): body not scrollable
This commit is contained in:
Nuno C.
2026-01-02 16:21:17 +00:00
committed by GitHub
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;
}
}