diff --git a/sass/index.scss b/sass/index.scss index d269ebb..5f7c8e5 100644 --- a/sass/index.scss +++ b/sass/index.scss @@ -67,7 +67,8 @@ body { flex-wrap: nowrap; justify-content: flex-start; align-items: center; - padding-top: calc(0.5 * var(--space-3xs)); + padding-top: 0; + max-height: var(--header-size); padding-bottom: calc(0.5 * var(--space-3xs)); background-color: var(--background-color); opacity: 0.95; @@ -153,21 +154,21 @@ body { @mixin toc-sticky { max-width: 100%; - top: var(--header-size); height: calc(100vh - var(--header-size)); position: sticky; z-index: 900; + overflow-y: scroll; scrollbar-width: thin; scrollbar-color: #fff #fff; &:hover { - scrollbar-color: #e9ecef #fff; + scrollbar-color: var(--border-color) #fff; } .scrollable-sidebar { + scrollbar-width: thin; display: block; width: auto; - overflow-y: auto; padding-bottom: 4rem; ul {