Parcourir la source

Use overflow-y: scoll on html element to avoid jumping around when the previous/next page adds a vertical scrollbar.

Johann Schmitz il y a 9 ans
Parent
commit
35a2671525
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      netbox/project-static/css/base.css

+ 3 - 0
netbox/project-static/css/base.css

@@ -2,6 +2,9 @@
 * {
     margin: 0;
 }
+html {
+    overflow-y: scroll;
+}
 html, body {
     height: 100%;
 }