[mv3] Allow body element to vertically scroll

Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/352
This commit is contained in:
Raymond Hill 2025-05-22 13:19:02 -04:00
parent 408b538e75
commit 4eae23065e
No known key found for this signature in database
GPG key ID: 25E1490B761470C2
2 changed files with 3 additions and 2 deletions

View file

@ -3,7 +3,6 @@ body {
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
max-height: 100vh;
padding: 0 var(--default-gap-xxsmall); padding: 0 var(--default-gap-xxsmall);
} }
body > * { body > * {

View file

@ -7,6 +7,9 @@
flex-wrap: wrap; flex-wrap: wrap;
overflow-x: hidden; overflow-x: hidden;
padding: 0; padding: 0;
position: sticky;
top: 0;
z-index: 100;
} }
.tabButton { .tabButton {
background-color: transparent; background-color: transparent;
@ -40,7 +43,6 @@ body[data-pane="about"] #dashboard-nav .tabButton[data-pane="about"] {
body > section { body > section {
display: none; display: none;
overflow: auto;
padding-bottom: 8rem; padding-bottom: 8rem;
} }
body[data-pane="settings"] > section[data-pane="settings"], body[data-pane="settings"] > section[data-pane="settings"],