Fixes #7529: Restore horizontal scrolling for tables in narrow viewports

This commit is contained in:
jeremystretch 2021-10-14 13:44:54 -04:00
parent 12efcec3b0
commit e16942dea5
2 changed files with 37 additions and 33 deletions

View File

@ -4,8 +4,10 @@
### Bug Fixes ### Bug Fixes
* [#7529](https://github.com/netbox-community/netbox/issues/7529) - Restore horizontal scrolling for tables in narrow viewports
* [#7534](https://github.com/netbox-community/netbox/issues/7534) - Avoid exception when utilizing "create and add another" twice in succession * [#7534](https://github.com/netbox-community/netbox/issues/7534) - Avoid exception when utilizing "create and add another" twice in succession
* [#7544](https://github.com/netbox-community/netbox/issues/7544) - Fix multi-value filtering of custom field objects * [#7544](https://github.com/netbox-community/netbox/issues/7544) - Fix multi-value filtering of custom field objects
* [#7545](https://github.com/netbox-community/netbox/issues/7545) - Fix incorrect display of update/delete events for webhooks
--- ---

View File

@ -1,6 +1,7 @@
{% load django_tables2 %} {% load django_tables2 %}
<table{% if table.attrs %} {{ table.attrs.as_html }}{% endif %}> <div class="table-responsive">
<table{% if table.attrs %} {{ table.attrs.as_html }}{% endif %}>
{% if table.show_header %} {% if table.show_header %}
<thead> <thead>
<tr> <tr>
@ -38,4 +39,5 @@
</tr> </tr>
</tfoot> </tfoot>
{% endif %} {% endif %}
</table> </table>
</div>