Răsfoiți Sursa

Fixes #5518: Fix persistent vertical scrollbar

Jeremy Stretch 5 ani în urmă
părinte
comite
8f4197c020
2 a modificat fișierele cu 11 adăugiri și 3 ștergeri
  1. 8 0
      docs/release-notes/version-2.10.md
  2. 3 3
      netbox/project-static/css/base.css

+ 8 - 0
docs/release-notes/version-2.10.md

@@ -1,5 +1,13 @@
 # NetBox v2.10
 
+## v2.10.3 (FUTURE)
+
+### Bug Fixes
+
+* [#5518](https://github.com/netbox-community/netbox/issues/5518) - Fix persistent vertical scrollbar
+
+---
+
 ## v2.10.2 (2020-12-21)
 
 ### Enhancements

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

@@ -14,21 +14,21 @@ body {
 .wrapper {
     min-height: 100%;
     height: auto !important;
-    margin: 0 auto -61px; /* the bottom margin is the negative value of the footer's height */
+    margin: 0 auto -48px; /* the bottom margin is the negative value of the footer's height */
     padding-bottom: 30px;
 }
 .navbar-brand {
     padding: 12px 15px 8px;
 }
 .footer, .push {
-    height: 60px; /* .push must be the same height as .footer */
+    height: 48px; /* .push must be the same height as .footer */
 }
 .footer {
     background-color: #f5f5f5;
     border-top: 1px solid #d0d0d0;
 }
 footer p {
-    margin: 20px 0;
+    margin: 12px 0;
 }
 #navbar_search {
     padding: 0 8px;