aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-07-04 11:57:35 -0700
committerMark Otto <[email protected]>2017-07-04 13:49:15 -0700
commitf093b90a7d4d2c84c526d8e0896e3fc9353f26ce (patch)
treecdeec9ab8fa7cca49754a9f32a16165350f2c7e2
parentbc70d191560b24273590a9e6b8cfa6cf6f49d0c4 (diff)
downloadbootstrap-f093b90a7d4d2c84c526d8e0896e3fc9353f26ce.tar.xz
bootstrap-f093b90a7d4d2c84c526d8e0896e3fc9353f26ce.zip
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
-rw-r--r--assets/scss/_sidebar.scss3
1 files changed, 1 insertions, 2 deletions
diff --git a/assets/scss/_sidebar.scss b/assets/scss/_sidebar.scss
index 8e10f3764..b9acf308b 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;
}