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;
|
top: 3.5rem;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
max-height: calc(100svh - 4rem);
|
max-height: calc(100svh - 3.5rem);
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 3.5rem;
|
top: 3.5rem;
|
||||||
width: 19rem;
|
width: 19rem;
|
||||||
max-height: calc(100svh - 4rem);
|
max-height: calc(100svh - 3.5rem);
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
margin-right: 1.272rem;
|
margin-right: 1.272rem;
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
.main-page_hero {
|
.main-page_hero {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
|
||||||
margin-block: 5rem;
|
margin-block: 5rem;
|
||||||
margin-inline: 0.612rem;
|
margin-inline: 0.612rem;
|
||||||
min-height: calc(100svh - 3.5rem);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
Loading…
Reference in a new issue