From 1d73e2c4f2964dd898bba453ed9beb94f623cea8 Mon Sep 17 00:00:00 2001 From: Pieter Lambrecht Date: Thu, 23 Feb 2023 20:30:39 +0100 Subject: [PATCH] auto hide/show when viewport reduces --- netbox/templates/dcim/rack.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netbox/templates/dcim/rack.html b/netbox/templates/dcim/rack.html index ea961f64b..7276a580a 100644 --- a/netbox/templates/dcim/rack.html +++ b/netbox/templates/dcim/rack.html @@ -18,7 +18,7 @@ {% endblock %} {% block extra_controls %} -
+
{% if prev_rack %} {{ prev_rack }} @@ -35,7 +35,7 @@
  • {{ peer_rack }}
  • {% endfor %} -
    +
    {% endif %} {% if next_rack %} @@ -48,7 +48,7 @@ -
    +
    {% if peer_racks %}
    {% for peer_rack in peer_racks %}