mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 03:16:48 +00:00
Fix sidebar scrolling on mobile
This commit is contained in:
parent
b28c76cda1
commit
369da72f2f
8
docs/_static/style.css
vendored
8
docs/_static/style.css
vendored
@ -300,6 +300,9 @@ aside {
|
|||||||
background-color: var(--mobile-nav-background);
|
background-color: var(--mobile-nav-background);
|
||||||
color: var(--mobile-nav-text);
|
color: var(--mobile-nav-text);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
max-height: 100vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
overscroll-behavior-y: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside h3 {
|
aside h3 {
|
||||||
@ -318,7 +321,7 @@ aside h3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-toggle {
|
.sidebar-toggle {
|
||||||
display: initial !important;
|
display: unset !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
@ -987,6 +990,9 @@ div.code-block-caption {
|
|||||||
position: initial;
|
position: initial;
|
||||||
background-color: var(--nav-background);
|
background-color: var(--nav-background);
|
||||||
color: var(--nav-text);
|
color: var(--nav-text);
|
||||||
|
max-height: unset;
|
||||||
|
overflow-y: unset;
|
||||||
|
overscroll-behavior-y: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside h3 {
|
aside h3 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user