Make tables in part info vertically scrollable on small displays

This commit is contained in:
Jan Böhmer 2023-01-09 23:48:36 +01:00
parent 4c9c9cf227
commit faf346806b
2 changed files with 79 additions and 77 deletions

View file

@ -1,4 +1,4 @@
<div class=""> <div class="table-responsive">
<table class="table table-striped table-header table-hover"> <table class="table table-striped table-header table-hover">
<thead> <thead>
<tr> <tr>

View file

@ -3,7 +3,8 @@
{% include "Parts/info/_withdraw_modal.html.twig" %} {% include "Parts/info/_withdraw_modal.html.twig" %}
<table class="table table-striped table-hover table-responsive-sm"> <div class="table-responsive">
<table class="table table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>{% trans %}part_lots.description{% endtrans %}</th> <th>{% trans %}part_lots.description{% endtrans %}</th>
@ -93,3 +94,4 @@
</tbody> </tbody>
</table> </table>
</div>