From: Dan Brown Date: Sat, 28 Nov 2020 15:28:44 +0000 (+0000) Subject: Made docs sidebar a slight bit easier to scroll X-Git-Tag: v0.31.0~3^2~28^2~2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/875a8bdafffcf7641ec4f19c95dbaad03bce0138 Made docs sidebar a slight bit easier to scroll Now it easily goes off the page, made it indapentally scrollable. Will probably do something different in future as it grows more. --- diff --git a/resources/sass/_blocks.scss b/resources/sass/_blocks.scss index 5b219b9ae..75adf12aa 100644 --- a/resources/sass/_blocks.scss +++ b/resources/sass/_blocks.scss @@ -274,4 +274,6 @@ .sticky-sidebar { position: sticky; top: $-m; + max-height: calc(100vh - #{$-m}); + overflow-y: auto; }