Просмотр исходного кода

Closes #10066: Use fixed column widths for custom field values in UI

jeremystretch 3 лет назад
Родитель
Сommit
2ef9e2d6fc

+ 1 - 0
docs/release-notes/version-3.3.md

@@ -5,6 +5,7 @@
 ### Enhancements
 
 * [#10061](https://github.com/netbox-community/netbox/issues/10061) - Replicate type when cloning L2VPN instances
+* [#10066](https://github.com/netbox-community/netbox/issues/10066) - Use fixed column widths for custom field values in UI
 
 ### Bug Fixes
 

+ 2 - 2
netbox/templates/inc/panels/custom_fields.html

@@ -12,9 +12,9 @@
           <table class="table table-hover attr-table">
             {% for field, value in fields.items %}
               <tr>
-                <td>
+                <th scope="row">
                   <span title="{{ field.description|escape }}">{{ field }}</span>
-                </td>
+                </th>
                 <td>
                   {% customfield_value field value %}
                 </td>