From f093b90a7d4d2c84c526d8e0896e3fc9353f26ce Mon Sep 17 00:00:00 2001 From: Mark Otto <markd.otto@gmail.com> Date: Tue, 4 Jul 2017 11:57:35 -0700 Subject: [PATCH] move the overflow-y to the sticky `@supports` block also remove the overflow-x. when you specify either overflow-y or overflow-x, the other is essentially nullified and thus ineffective anyway --- assets/scss/_sidebar.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/scss/_sidebar.scss b/assets/scss/_sidebar.scss index 8e10f37644..b9acf308b0 100644 --- a/assets/scss/_sidebar.scss +++ b/assets/scss/_sidebar.scss @@ -9,12 +9,11 @@ position: sticky; top: 4rem; max-height: calc(100vh - 4rem); + overflow-y: auto; } order: 2; padding-top: 1.5rem; padding-bottom: 1.5rem; - overflow-x: visible; - overflow-y: auto; font-size: .875rem; } -- GitLab