remove scrollbar on main page and fix toc/nav clipping
This commit is contained in:
parent
a0727c05e5
commit
18d0c8e403
|
@ -148,7 +148,7 @@
|
|||
top: 3.5rem;
|
||||
flex-shrink: 0;
|
||||
overflow-y: scroll;
|
||||
max-height: calc(100svh - 4rem);
|
||||
max-height: calc(100svh - 3.5rem);
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
z-index: 10;
|
||||
|
|
|
@ -106,7 +106,7 @@
|
|||
position: sticky;
|
||||
top: 3.5rem;
|
||||
width: 19rem;
|
||||
max-height: calc(100svh - 4rem);
|
||||
max-height: calc(100svh - 3.5rem);
|
||||
overflow-y: scroll;
|
||||
z-index: 9;
|
||||
margin-right: 1.272rem;
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
.main-page_hero {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
margin-block: 5rem;
|
||||
margin-inline: 0.612rem;
|
||||
min-height: calc(100svh - 3.5rem);
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in a new issue