Przeglądaj źródła

Closes #5154: Utilize all horizontal space for web UI

Jeremy Stretch 5 lat temu
rodzic
commit
d03c14d49c

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

@@ -52,6 +52,7 @@ All end-to-end cable paths are now cached using the new CablePath model. This al
 * [#4967](https://github.com/netbox-community/netbox/issues/4967) - Adds tenancy to Aggregate model
 * [#5003](https://github.com/netbox-community/netbox/issues/5003) - CSV import now accepts slug values for choice fields
 * [#5146](https://github.com/netbox-community/netbox/issues/5146) - Add custom fields support for cables, power panels, rack reservations, and virtual chassis
+* [#5154](https://github.com/netbox-community/netbox/issues/5154) - Utilize all horizontal space for web UI
 * [#5190](https://github.com/netbox-community/netbox/issues/5190) - Add a REST API endpoint for content types
 
 ### Other Changes

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

@@ -11,10 +11,6 @@ html, body {
 body {
     padding-top: 70px;
 }
-.container {
-    width: auto;
-    max-width: 1600px;
-}
 .wrapper {
     min-height: 100%;
     height: auto !important;

+ 2 - 2
netbox/templates/base.html

@@ -31,7 +31,7 @@
 </head>
 <body>
     {% include 'inc/nav_menu.html' %}
-    <div class="container wrapper">
+    <div class="container-fluid wrapper">
         {% if settings.BANNER_TOP %}
             <div class="alert alert-info text-center" role="alert">
                 {{ settings.BANNER_TOP|safe }}
@@ -61,7 +61,7 @@
         {% endif %}
     </div>
     <footer class="footer">
-        <div class="container">
+        <div class="container-fluid">
             <div class="row">
                 <div class="col-xs-4">
                     <p class="text-muted">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</p>

+ 1 - 1
netbox/templates/inc/nav_menu.html

@@ -1,7 +1,7 @@
 {% load static %}
 {% load helpers %}
 <nav class="navbar navbar-default navbar-fixed-top">
-    <div class="container">
+    <div class="container-fluid">
         <div class="navbar-header">
             <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
                 <span class="sr-only">Toggle navigation</span>