Parcourir la source

Fixes #22002: Enable horizontal scrolling for Context Table Panels (#22009)

Martin Hauser il y a 1 mois
Parent
commit
fa2d762f2b
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      netbox/templates/ui/panels/context_table.html

+ 3 - 1
netbox/templates/ui/panels/context_table.html

@@ -2,5 +2,7 @@
 {% load render_table from django_tables2 %}
 
 {% block panel_content %}
-  {% render_table table 'inc/table.html' %}
+  <div class="table-responsive">
+    {% render_table table 'inc/table.html' %}
+  </div>
 {% endblock panel_content %}