From b4a5e194e4eab5b5fb401a69cbb7f41246d06f71 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 3 Jan 2024 16:15:22 -0500 Subject: [PATCH] Clean up object list styling --- netbox/netbox/tables/columns.py | 2 +- netbox/project-static/dist/netbox.css | Bin 523724 -> 523700 bytes netbox/project-static/styles/variables.scss | 4 ++++ netbox/templates/account/bookmarks.html | 2 +- netbox/templates/dcim/connections_list.html | 2 +- .../dcim/devicetype/component_templates.html | 4 ++-- .../dcim/moduletype/component_templates.html | 4 ++-- netbox/templates/generic/object_children.html | 2 +- netbox/templates/generic/object_list.html | 2 +- netbox/templates/search.html | 2 +- 10 files changed, 14 insertions(+), 10 deletions(-) diff --git a/netbox/netbox/tables/columns.py b/netbox/netbox/tables/columns.py index d2cd0a0d4..0813deb36 100644 --- a/netbox/netbox/tables/columns.py +++ b/netbox/netbox/tables/columns.py @@ -162,7 +162,7 @@ class ToggleColumn(tables.CheckBoxColumn): if 'attrs' not in kwargs: kwargs['attrs'] = { 'td': { - 'class': 'min-width', + 'class': 'w-1', }, 'input': { 'class': 'form-check-input' diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index 3e753bcac425de608efd67b451ffd3730e603320..f5c6bd268ca1fca6a1630ca1e484a0b653b870f4 100644 GIT binary patch delta 203 zcmX@}TYk%L`3);nr~m!OB02qyEu+x%1}|35$qM{z)0c8G3U2%ml>DK+FQftlPWm+2+5Su5pc-Z~EB+cE{~idF(DsVE%R>zaPQ` zNjXioFJ@<*E>g&TfBVD|_Dn{&Ca3M*W$b=PD!0F?U=K#(PnWM|XWKrdn%#hj%eo*j RB_%U2-AZr!-CFkd^#EDAPJ93W delta 165 zcmdn;TmH;%`3);nr;AIlOHWR%7n;7omz8s}0zcd4N2>LajONXW_3erEj6lo;#LPg< z0>rG_6YJTIy<;?=zN>)Ue|uRTy9*Pe`F0>@E|3NZ25etm%4xRkN`!8wmA*n?r5 p>G!MHS+{ppvl}vTD(LE&n--
-
+
{% include 'htmx/table.html' %}
diff --git a/netbox/templates/dcim/connections_list.html b/netbox/templates/dcim/connections_list.html index 0d67dcaf0..c0122e7ee 100644 --- a/netbox/templates/dcim/connections_list.html +++ b/netbox/templates/dcim/connections_list.html @@ -12,7 +12,7 @@
{% include 'inc/table_controls_htmx.html' %}
-
+
{% include 'htmx/table.html' %}
diff --git a/netbox/templates/dcim/devicetype/component_templates.html b/netbox/templates/dcim/devicetype/component_templates.html index 8c392965d..68e2007c0 100644 --- a/netbox/templates/dcim/devicetype/component_templates.html +++ b/netbox/templates/dcim/devicetype/component_templates.html @@ -9,7 +9,7 @@ {% csrf_token %}
{{ title }}
-
+
{% include 'htmx/table.html' %}