diff --git a/src/styles/docs/nav/nav.css b/src/styles/docs/nav/nav.css index eead596..4a3fa5a 100644 --- a/src/styles/docs/nav/nav.css +++ b/src/styles/docs/nav/nav.css @@ -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; diff --git a/src/styles/docs/toc/toc.css b/src/styles/docs/toc/toc.css index fd4f8bf..42c2f61 100644 --- a/src/styles/docs/toc/toc.css +++ b/src/styles/docs/toc/toc.css @@ -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; diff --git a/src/styles/main-page.css b/src/styles/main-page.css index 2d326b7..1d25b2e 100644 --- a/src/styles/main-page.css +++ b/src/styles/main-page.css @@ -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;