diff --git a/netbox/project-static/dist/netbox-dark.css b/netbox/project-static/dist/netbox-dark.css index c24c562a9..6ef1beacb 100644 Binary files a/netbox/project-static/dist/netbox-dark.css and b/netbox/project-static/dist/netbox-dark.css differ diff --git a/netbox/project-static/dist/netbox-light.css b/netbox/project-static/dist/netbox-light.css index 6566438c4..cb8ad40a8 100644 Binary files a/netbox/project-static/dist/netbox-light.css and b/netbox/project-static/dist/netbox-light.css differ diff --git a/netbox/project-static/styles/netbox.scss b/netbox/project-static/styles/netbox.scss index dd5edc5b9..236d44f1b 100644 --- a/netbox/project-static/styles/netbox.scss +++ b/netbox/project-static/styles/netbox.scss @@ -255,7 +255,7 @@ div.title-container { #content-title { display: flex; - flex: 1 0 auto; + flex: 1 0; flex-direction: column; padding-bottom: map.get($spacers, 2); } @@ -721,6 +721,8 @@ div.bulk-buttons { > div.bulk-button-group { display: flex; flex-wrap: wrap; + // For small screens: don't fill the available space (thereby expanding the size of the button). + align-items: flex-start; &:first-of-type:not(:last-of-type) { // If there are multiple bulk button groups and this is the first, the first button in the diff --git a/netbox/templates/dcim/cable_connect.html b/netbox/templates/dcim/cable_connect.html index e012c23b9..e60b8b92f 100644 --- a/netbox/templates/dcim/cable_connect.html +++ b/netbox/templates/dcim/cable_connect.html @@ -23,43 +23,43 @@ {% if termination_a.device %} {# Device component #}
- +
- +
- +
- +
- +
- +
- +
@@ -94,7 +94,7 @@
-
+
@@ -140,7 +140,7 @@ {% render_field form.termination_b_circuit %} {% endif %}
- +
diff --git a/netbox/templates/dcim/device/interfaces.html b/netbox/templates/dcim/device/interfaces.html index 3f306de9f..00ce32a05 100644 --- a/netbox/templates/dcim/device/interfaces.html +++ b/netbox/templates/dcim/device/interfaces.html @@ -34,7 +34,7 @@
- {% render_table interface_table 'inc/table.html' %} + {% include 'inc/responsive_table.html' with table=interface_table %}
{% if perms.dcim.change_interface %} diff --git a/netbox/templates/dcim/inc/cable_form.html b/netbox/templates/dcim/inc/cable_form.html index 4f93f9010..6d88c26ae 100644 --- a/netbox/templates/dcim/inc/cable_form.html +++ b/netbox/templates/dcim/inc/cable_form.html @@ -7,7 +7,7 @@ {% render_field form.label %} {% render_field form.color %}
- +
{{ form.length }}
diff --git a/netbox/templates/dcim/rack_edit.html b/netbox/templates/dcim/rack_edit.html index 530f23244..55be5649b 100644 --- a/netbox/templates/dcim/rack_edit.html +++ b/netbox/templates/dcim/rack_edit.html @@ -30,7 +30,7 @@ {% render_field form.width %} {% render_field form.u_height %}
- +
{{ form.outer_width }}
Width
diff --git a/netbox/templates/ipam/service_edit.html b/netbox/templates/ipam/service_edit.html index dd256207f..f37046469 100644 --- a/netbox/templates/ipam/service_edit.html +++ b/netbox/templates/ipam/service_edit.html @@ -6,14 +6,14 @@
Service
{% if obj.device %}
- +
{% else %}
- +
@@ -21,7 +21,7 @@ {% endif %} {% render_field form.name %}
- +
{{ form.protocol }}
diff --git a/netbox/templates/utilities/render_field.html b/netbox/templates/utilities/render_field.html index c67df331a..2471f2322 100644 --- a/netbox/templates/utilities/render_field.html +++ b/netbox/templates/utilities/render_field.html @@ -26,7 +26,7 @@ {% elif field|widget_type == 'textarea' and not field.label %}
{% if label %} -