aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-02-07 01:27:07 -0800
committerMark Otto <[email protected]>2014-02-07 01:27:07 -0800
commitf83b20100728ee7fa6c661ccee289dd003822cdc (patch)
treee9b32d6a7b76ce0fd88022882ff9a1854697271b /docs/examples
parent228d4e59fcdb0e05811821a9aff899e7b4e5f4d9 (diff)
downloadbootstrap-f83b20100728ee7fa6c661ccee289dd003822cdc.tar.xz
bootstrap-f83b20100728ee7fa6c661ccee289dd003822cdc.zip
Fixes #12526: Add scrollbars when necessary to the Dashboard example's sidebar
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/dashboard/dashboard.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css
index 565aff50e..d6bbc30eb 100644
--- a/docs/examples/dashboard/dashboard.css
+++ b/docs/examples/dashboard/dashboard.css
@@ -34,6 +34,8 @@ body {
left: 0;
z-index: 1000;
display: block;
+ overflow-x: hidden;
+ overflow-y: auto; /* Scrollable contents if page is short */
padding: 70px 20px 20px;
background-color: #f5f5f5;
border-right: 1px solid #eee;