mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Allow body element to vertically scroll
Related issue: https://github.com/uBlockOrigin/uBOL-home/issues/352
This commit is contained in:
parent
408b538e75
commit
4eae23065e
2 changed files with 3 additions and 2 deletions
|
|
@ -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 > * {
|
||||||
|
|
|
||||||
|
|
@ -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"],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue