From 962e3e131316e8f0fa1ca218421bbfbb6d5107ab Mon Sep 17 00:00:00 2001 From: cynecx Date: Fri, 13 Mar 2020 21:40:25 +0100 Subject: [PATCH] Change layout to fix missing scrollbar highlighting (chromium) --- templates/style.scss | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/templates/style.scss b/templates/style.scss index 8501628d4..361b766aa 100644 --- a/templates/style.scss +++ b/templates/style.scss @@ -84,15 +84,6 @@ div.rustdoc { } } } - - // this is actual fix for docs.rs navigation and rustdoc sidebar - position: fixed; - top: $top-navbar-height; - bottom: 0; - left: 0; - right: 0; - display: block; - overflow-y: auto; } body { @@ -811,3 +802,8 @@ i.dependencies.normal { visibility: hidden; display: none; } + +// Fix position of theme-picker +.theme-picker { + margin-top: $top-navbar-height; +}