Browse Source

#6797: Fix object list layout when there is no filter form

Matt 4 years ago
parent
commit
0bf39590e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/templates/generic/object_list.html

+ 1 - 1
netbox/templates/generic/object_list.html

@@ -56,7 +56,7 @@
 
 {# Object table #}
 <div class="row">
-  <div class="col col-md-7 col-lg-8 col-xl-9 col-xxl-10">
+  <div class="col {% if filter_form %}col-md-7 col-lg-8 col-xl-9 col-xxl-10{% else %}col-12{% endif %}">
     {# Object list filter, table config #}
     {% include 'inc/table_controls.html' with table_modal="ObjectTable_config" %}