From a6f45946c6fc8180e217483ff62d71023b956a75 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 12 Aug 2022 19:38:36 -0500 Subject: [PATCH] update docs scrollbars position (#7193) --- .../assets/styles/pages/docs/basic-documentation.less | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/website/assets/styles/pages/docs/basic-documentation.less b/website/assets/styles/pages/docs/basic-documentation.less index 9a13828167..f94cfb26da 100644 --- a/website/assets/styles/pages/docs/basic-documentation.less +++ b/website/assets/styles/pages/docs/basic-documentation.less @@ -659,15 +659,15 @@ } .header-hidden { // For scrolling the sidebars with the sticky header - transform: translateY(-60px); - max-height: calc(~'100vh - 80px'); + transform: translateY(-80px); + max-height: calc(~'100vh - 60px'); } .scrolled:not(.header-hidden) { // For when the page has been scrolled and the header is visible - max-height: calc(~'100vh - 170px'); + max-height: calc(~'100vh - 140px'); } [purpose='left-sidebar'] { position: sticky; - top: 146px; + top: 118px; height: fit-content; overflow-y: auto; transition-property: all; @@ -684,7 +684,7 @@ } min-width: 216px; position: sticky; - top: 146px; + top: 118px; height: fit-content; overflow-y: auto; transition-property: all; @@ -693,7 +693,6 @@ [purpose='subtopics'] { scrollbar-width: none; - max-height: 100vh; overflow-y: auto; color: @core-fleet-black; padding-top: 4px;