make sure vertical scrollbar is always shown
[web.git] / style.scss
index 25d8e526c99e6f294e55822e54c3b9a0219d643c..ab657879ae033ccb7de8af50242e0c7aade2db7e 100644 (file)
@@ -65,6 +65,9 @@ h4 {
 /* Layout and Color stuff */
 
 /* General page structure */
+html {
+    overflow-y: scroll;
+}
 body { /* This centers us in the page, and handles the "too wide" case */
     padding: 0;
     margin: 0 auto;
@@ -142,6 +145,9 @@ body { /* This centers us in the page, and handles the "too wide" case */
 
 /* Small screens */
 @media screen and (max-width:#{ $small-width } ) {
+    html {
+        overflow-y: auto;
+    }
     body, #-frame, #-content, #-navi {
         margin: 0;
         padding: 0;