fix: Scroll only table, not figcaption
This commit is contained in:
parent
83281b8f53
commit
c29acf3a65
2 changed files with 69 additions and 62 deletions
|
@ -34,68 +34,70 @@
|
||||||
<section>
|
<section>
|
||||||
<h1>Details</h1>
|
<h1>Details</h1>
|
||||||
<figure>
|
<figure>
|
||||||
<table>
|
<div>
|
||||||
<thead>
|
<table>
|
||||||
<tr>
|
<thead>
|
||||||
<th rowspan="3">Land</th>
|
<tr>
|
||||||
<th rowspan="2" colspan="2">
|
<th rowspan="3">Land</th>
|
||||||
Impfungen<br />
|
<th rowspan="2" colspan="2">
|
||||||
gesamt
|
Impfungen<br />
|
||||||
</th>
|
gesamt
|
||||||
<th colspan="8">Impfung wegen<sup><a href="#footnote-006">6</a></sup></th>
|
</th>
|
||||||
</tr>
|
<th colspan="8">Impfung wegen<sup><a href="#footnote-006">6</a></sup></th>
|
||||||
<tr>
|
</tr>
|
||||||
<th colspan="2">Alter</th>
|
<tr>
|
||||||
<th colspan="2">Beruf</th>
|
<th colspan="2">Alter</th>
|
||||||
<th colspan="2">Gesundheit</th>
|
<th colspan="2">Beruf</th>
|
||||||
<th colspan="2">Pflegeheim</th>
|
<th colspan="2">Gesundheit</th>
|
||||||
</tr>
|
<th colspan="2">Pflegeheim</th>
|
||||||
<tr>
|
</tr>
|
||||||
<th>Anzahl</th>
|
<tr>
|
||||||
<th>%</th>
|
<th>Anzahl</th>
|
||||||
<th>Anzahl</th>
|
<th>%</th>
|
||||||
<th>%</th>
|
<th>Anzahl</th>
|
||||||
<th>Anzahl</th>
|
<th>%</th>
|
||||||
<th>%</th>
|
<th>Anzahl</th>
|
||||||
<th>Anzahl</th>
|
<th>%</th>
|
||||||
<th>%</th>
|
<th>Anzahl</th>
|
||||||
<th>Anzahl</th>
|
<th>%</th>
|
||||||
<th>%</th>
|
<th>Anzahl</th>
|
||||||
</tr>
|
<th>%</th>
|
||||||
</thead>
|
</tr>
|
||||||
<tbody>
|
</thead>
|
||||||
{% for land in details_per_land %}
|
<tbody>
|
||||||
<tr>
|
{% for land in details_per_land %}
|
||||||
<th>{{ land }}</th>
|
<tr>
|
||||||
<td class="number">{{ details_per_land[land].total_vaccinations }}</td>
|
<th>{{ land }}</th>
|
||||||
<td class="number">{{ details_per_land[land].total_vaccinations_percentage }} %</td>
|
<td class="number">{{ details_per_land[land].total_vaccinations }}</td>
|
||||||
<td class="number">{{ details_per_land[land].vaccination_reason_age }}</td>
|
<td class="number">{{ details_per_land[land].total_vaccinations_percentage }} %</td>
|
||||||
<td class="number">{{ details_per_land[land].vaccination_reason_age_percentage }} %</td>
|
<td class="number">{{ details_per_land[land].vaccination_reason_age }}</td>
|
||||||
<td class="number">{{ details_per_land[land].vaccination_reason_job }}</td>
|
<td class="number">{{ details_per_land[land].vaccination_reason_age_percentage }} %</td>
|
||||||
<td class="number">{{ details_per_land[land].vaccination_reason_job_percentage }} %</td>
|
<td class="number">{{ details_per_land[land].vaccination_reason_job }}</td>
|
||||||
<td class="number">{{ details_per_land[land].vaccination_reason_medical }}</td>
|
<td class="number">{{ details_per_land[land].vaccination_reason_job_percentage }} %</td>
|
||||||
<td class="number">{{ details_per_land[land].vaccination_reason_medical_percentage }} %</td>
|
<td class="number">{{ details_per_land[land].vaccination_reason_medical }}</td>
|
||||||
<td class="number">{{ details_per_land[land].vaccination_reason_oldhome }}</td>
|
<td class="number">{{ details_per_land[land].vaccination_reason_medical_percentage }} %</td>
|
||||||
<td class="number">{{ details_per_land[land].vaccination_reason_oldhome_percentage }} %</td>
|
<td class="number">{{ details_per_land[land].vaccination_reason_oldhome }}</td>
|
||||||
</tr>
|
<td class="number">{{ details_per_land[land].vaccination_reason_oldhome_percentage }} %</td>
|
||||||
{% endfor %}
|
</tr>
|
||||||
</tbody>
|
{% endfor %}
|
||||||
<tfoot>
|
</tbody>
|
||||||
<tr>
|
<tfoot>
|
||||||
<th>Gesamt</th>
|
<tr>
|
||||||
<td class="number">{{ details_total.total_vaccinations }}</td>
|
<th>Gesamt</th>
|
||||||
<td class="number">{{ details_total.total_vaccinations_percentage }} %</td>
|
<td class="number">{{ details_total.total_vaccinations }}</td>
|
||||||
<td class="number">{{ details_total.vaccination_reason_age }}</td>
|
<td class="number">{{ details_total.total_vaccinations_percentage }} %</td>
|
||||||
<td class="number">{{ details_total.vaccination_reason_age_percentage }} %</td>
|
<td class="number">{{ details_total.vaccination_reason_age }}</td>
|
||||||
<td class="number">{{ details_total.vaccination_reason_job }}</td>
|
<td class="number">{{ details_total.vaccination_reason_age_percentage }} %</td>
|
||||||
<td class="number">{{ details_total.vaccination_reason_job_percentage }} %</td>
|
<td class="number">{{ details_total.vaccination_reason_job }}</td>
|
||||||
<td class="number">{{ details_total.vaccination_reason_medical }}</td>
|
<td class="number">{{ details_total.vaccination_reason_job_percentage }} %</td>
|
||||||
<td class="number">{{ details_total.vaccination_reason_medical_percentage }} %</td>
|
<td class="number">{{ details_total.vaccination_reason_medical }}</td>
|
||||||
<td class="number">{{ details_total.vaccination_reason_oldhome }}</td>
|
<td class="number">{{ details_total.vaccination_reason_medical_percentage }} %</td>
|
||||||
<td class="number">{{ details_total.vaccination_reason_oldhome_percentage }} %</td>
|
<td class="number">{{ details_total.vaccination_reason_oldhome }}</td>
|
||||||
</tr>
|
<td class="number">{{ details_total.vaccination_reason_oldhome_percentage }} %</td>
|
||||||
</tfoot>
|
</tr>
|
||||||
</table>
|
</tfoot>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
<figcaption>
|
<figcaption>
|
||||||
<a name="table-001"><span class="ref">Tabelle 1:</span></a>
|
<a name="table-001"><span class="ref">Tabelle 1:</span></a>
|
||||||
Details der Impfungen, aufgeschlüsselt nach Ländern<br />
|
Details der Impfungen, aufgeschlüsselt nach Ländern<br />
|
||||||
|
|
|
@ -63,6 +63,11 @@ figure figcaption .ref {
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 1em 0.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure div {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue