diff options
author | Mark Otto <markd.otto@gmail.com> | 2017-07-04 21:57:35 +0300 |
---|---|---|
committer | Mark Otto <markd.otto@gmail.com> | 2017-07-04 23:49:15 +0300 |
commit | f093b90a7d4d2c84c526d8e0896e3fc9353f26ce (patch) | |
tree | cdeec9ab8fa7cca49754a9f32a16165350f2c7e2 /assets | |
parent | bc70d191560b24273590a9e6b8cfa6cf6f49d0c4 (diff) |
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
Diffstat (limited to 'assets')
-rw-r--r-- | assets/scss/_sidebar.scss | 3 |
1 files changed, 1 insertions, 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; } |