Skip to content

Commit 6f35a2a

Browse files
committed
Fixes #16452: Fix sizing of buttons within object attribute panels
1 parent 9559349 commit 6f35a2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netbox/templates/dcim/device.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h5 class="card-header">{% trans "Device" %}</h5>
2828
</tr>
2929
<tr>
3030
<th scope="row">{% trans "Rack" %}</th>
31-
<td class="d-flex justify-content-between">
31+
<td class="d-flex justify-content-between align-items-start">
3232
{% if object.rack %}
3333
{{ object.rack|linkify }}
3434
<a href="{{ object.rack.get_absolute_url }}?device={{ object.pk }}" class="btn btn-primary btn-sm d-print-none" title="{% trans "Highlight device in rack" %}">

netbox/templates/dcim/site.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h5 class="card-header">{% trans "Site" %}</h5>
7373
</tr>
7474
<tr>
7575
<th scope="row">{% trans "Physical Address" %}</th>
76-
<td class="d-flex justify-content-between">
76+
<td class="d-flex justify-content-between align-items-start">
7777
{% if object.physical_address %}
7878
<span>{{ object.physical_address|linebreaksbr }}</span>
7979
{% if config.MAPS_URL %}

0 commit comments

Comments
 (0)