added table container
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Samuel Philipp 2021-06-13 02:17:25 +02:00
parent 8d2492e6c8
commit bd591594e7
Signed by: samuel-p
GPG key ID: 2AD495D17760CB4E
4 changed files with 111 additions and 102 deletions

View file

@ -1,4 +1,4 @@
{{locale}} <div class="table-container">
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
@ -33,3 +33,4 @@
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
</div>

View file

@ -1,6 +1,7 @@
{% for year in donations %} {% for year in donations %}
<h2>{{year.year}}</h2> <h2>{{year.year}}</h2>
<div class="table-container">
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
@ -35,4 +36,5 @@
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
</div>
{% endfor %} {% endfor %}

View file

@ -1,3 +1,4 @@
<div class="table-container">
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
@ -31,3 +32,4 @@
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
</div>

View file

@ -270,6 +270,10 @@ pre {
} }
} }
.table-container {
overflow-y: auto;
}
table.table { table.table {
width: 100%; width: 100%;
margin-bottom: 16px; margin-bottom: 16px;