From ce4d00dc21c520edd6f976ccee5445f0e2c42cf5 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Thu, 1 Sep 2022 09:53:48 -0400 Subject: [PATCH] Fixes #10184: Fix vertical alignment when displaying object attributes with buttons --- docs/release-notes/version-3.3.md | 1 + netbox/templates/dcim/device.html | 4 ++-- netbox/templates/dcim/location.html | 4 ++-- netbox/templates/dcim/site.html | 10 +++++----- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/release-notes/version-3.3.md b/docs/release-notes/version-3.3.md index 6049133e9..f34904185 100644 --- a/docs/release-notes/version-3.3.md +++ b/docs/release-notes/version-3.3.md @@ -22,6 +22,7 @@ * [#10177](https://github.com/netbox-community/netbox/issues/10177) - Correct display of custom fields when editing VM interfaces * [#10178](https://github.com/netbox-community/netbox/issues/10178) - Display manufacturer name alongside device type under device view * [#10181](https://github.com/netbox-community/netbox/issues/10181) - Restore MultiPartParser (regression from #10031) +* [#10184](https://github.com/netbox-community/netbox/issues/10184) - Fix vertical alignment when displaying object attributes with buttons * [#10208](https://github.com/netbox-community/netbox/issues/10208) - Fix permissions evaluation for interface actions dropdown menu * [#10217](https://github.com/netbox-community/netbox/issues/10217) - Handle exception when trace splits to multiple rear ports * [#10220](https://github.com/netbox-community/netbox/issues/10220) - Validate IP version when assigning primary IPs to a virtual machine diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index 6e668c084..8a70db621 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -46,10 +46,10 @@ Rack - + {% if object.rack %} {{ object.rack|linkify }} -
+
diff --git a/netbox/templates/dcim/location.html b/netbox/templates/dcim/location.html index f0335036f..10cec1548 100644 --- a/netbox/templates/dcim/location.html +++ b/netbox/templates/dcim/location.html @@ -58,9 +58,9 @@ Racks - + {% if rack_count %} -
+
diff --git a/netbox/templates/dcim/site.html b/netbox/templates/dcim/site.html index ab04ea018..a4ee4180f 100644 --- a/netbox/templates/dcim/site.html +++ b/netbox/templates/dcim/site.html @@ -85,11 +85,11 @@ Physical Address - + {% if object.physical_address %} -
+ {{ object.physical_address|linebreaksbr }} @@ -104,9 +104,9 @@ GPS Coordinates - + {% if object.latitude and object.longitude %} -