1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #7167: Ensure consistent font size when using monospace formatting

This commit is contained in:
jeremystretch
2021-09-09 16:05:46 -04:00
parent 908e6a7a38
commit bd957612c6
6 changed files with 8 additions and 7 deletions

View File

@ -4,6 +4,7 @@
### Bug Fixes ### Bug Fixes
* [#7167](https://github.com/netbox-community/netbox/issues/7167) - Ensure consistent font size when using monospace formatting
* [#7226](https://github.com/netbox-community/netbox/issues/7226) - Exempt GraphQL API requests from CSRF inspection * [#7226](https://github.com/netbox-community/netbox/issues/7226) - Exempt GraphQL API requests from CSRF inspection
--- ---

View File

@ -95,11 +95,11 @@
</tr> </tr>
<tr> <tr>
<th scope="row">Serial Number</th> <th scope="row">Serial Number</th>
<td><code>{{ object.serial|placeholder }}</code></td> <td class="font-monospace">{{ object.serial|placeholder }}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">Asset Tag</th> <th scope="row">Asset Tag</th>
<td><span>{{ object.asset_tag|placeholder }}</span></td> <td class="font-monospace">{{ object.asset_tag|placeholder }}</td>
</tr> </tr>
</table> </table>
</div> </div>

View File

@ -96,11 +96,11 @@
</tr> </tr>
<tr> <tr>
<th scope="row">Serial Number</th> <th scope="row">Serial Number</th>
<td>{{ object.serial|placeholder }}</td> <td class="font-monospace">{{ object.serial|placeholder }}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">Asset Tag</th> <th scope="row">Asset Tag</th>
<td>{{ object.asset_tag|placeholder }}</td> <td class="font-monospace">{{ object.asset_tag|placeholder }}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">Devices</th> <th scope="row">Devices</th>

View File

@ -32,7 +32,7 @@
<table class="table table-hover"> <table class="table table-hover">
{% for method, data in result.data.items %} {% for method, data in result.data.items %}
<tr> <tr>
<td><code><a href="#{{ method }}">{{ method }}</a></code></td> <td class="font-monospace"><a href="#{{ method }}">{{ method }}</a></td>
<td class="text-end report-stats"> <td class="text-end report-stats">
<span class="badge bg-success">{{ data.success }}</span> <span class="badge bg-success">{{ data.success }}</span>
<span class="badge bg-info">{{ data.info }}</span> <span class="badge bg-info">{{ data.info }}</span>

View File

@ -79,7 +79,7 @@
</tr> </tr>
<tr> <tr>
<th scope="row">Payload URL</th> <th scope="row">Payload URL</th>
<td><code>{{ object.payload_url }}</code></td> <td class="font-monospace">{{ object.payload_url }}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">HTTP Content Type</th> <th scope="row">HTTP Content Type</th>

View File

@ -13,7 +13,7 @@
<table class="table table-hover attr-table"> <table class="table table-hover attr-table">
<tr> <tr>
<th scope="row">Name</th> <th scope="row">Name</th>
<td><code>{{ object.name }}</code></td> <td class="font-monospace">{{ object.name }}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">Tenant</th> <th scope="row">Tenant</th>