forked from samuel-p/sp-codes.de
added table container
This commit is contained in:
parent
8d2492e6c8
commit
bd591594e7
4 changed files with 111 additions and 102 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{locale}}
|
<div class="table-container">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{strings.date[locale]}}</th>
|
<th>{{strings.date[locale]}}</th>
|
||||||
|
@ -32,4 +32,5 @@
|
||||||
<th>{{donations[0].donations | sum | amount}} €</th>
|
<th>{{donations[0].donations | sum | amount}} €</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{% for year in donations %}
|
{% for year in donations %}
|
||||||
<h2>{{year.year}}</h2>
|
<h2>{{year.year}}</h2>
|
||||||
|
|
||||||
<table class="table">
|
<div class="table-container">
|
||||||
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{strings.date[locale]}}</th>
|
<th>{{strings.date[locale]}}</th>
|
||||||
|
@ -34,5 +35,6 @@
|
||||||
<th>{{year.donations | sum | amount}} €</th>
|
<th>{{year.donations | sum | amount}} €</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<table class="table">
|
<div class="table-container">
|
||||||
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{strings.name[locale]}}</th>
|
<th>{{strings.name[locale]}}</th>
|
||||||
|
@ -30,4 +31,5 @@
|
||||||
<th>{{expenses | sum | year | amount}} €</th>
|
<th>{{expenses | sum | year | amount}} €</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
|
@ -270,6 +270,10 @@ pre {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-container {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
table.table {
|
table.table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
|
Loading…
Reference in a new issue