]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #12526: Add scrollbars when necessary to the Dashboard example's sidebar
authorMark Otto <otto@github.com>
Fri, 7 Feb 2014 09:27:07 +0000 (01:27 -0800)
committerMark Otto <otto@github.com>
Fri, 7 Feb 2014 09:27:07 +0000 (01:27 -0800)
docs/examples/dashboard/dashboard.css

index 565aff50e105f4d30055ce1d8ae658c41e68771c..d6bbc30ebe9c60cc5e4fee1ddebceb7e140a75a1 100644 (file)
@@ -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;