Fix that irritating sidebar scrolling thingy
This commit is contained in:
parent
05f47c71af
commit
ce18ed2fd4
1 changed files with 5 additions and 2 deletions
|
|
@ -165,7 +165,10 @@ a {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
max-width: 20%;
|
max-width: 20%;
|
||||||
|
max-height: 100dvh;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar-top {
|
#sidebar-top {
|
||||||
|
|
@ -227,9 +230,9 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-content {
|
#main-content {
|
||||||
margin: 2rem;
|
padding: 2rem;
|
||||||
font-family: var(--body-font);
|
font-family: var(--body-font);
|
||||||
width: 100%
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3 {
|
h1, h2, h3 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue