From c29acf3a65eebf481c1dae46e03cf941f6d7be91 Mon Sep 17 00:00:00 2001 From: Benedikt Bastin Date: Sun, 17 Jan 2021 20:36:10 +0100 Subject: [PATCH] fix: Scroll only table, not figcaption --- dashboard_template.xhtml | 126 ++++++++++++++++++++------------------- site/rki-dashboard.css | 5 ++ 2 files changed, 69 insertions(+), 62 deletions(-) diff --git a/dashboard_template.xhtml b/dashboard_template.xhtml index a25f592..b5f6eb9 100644 --- a/dashboard_template.xhtml +++ b/dashboard_template.xhtml @@ -34,68 +34,70 @@

Details

- - - - - - - - - - - - - - - - - - - - - - - - - - - - {% for land in details_per_land %} - - - - - - - - - - - - - - {% endfor %} - - - - - - - - - - - - - - - - -
Land - Impfungen
- gesamt -
Impfung wegen6
AlterBerufGesundheitPflegeheim
Anzahl%Anzahl%Anzahl%Anzahl%Anzahl%
{{ land }}{{ details_per_land[land].total_vaccinations }}{{ details_per_land[land].total_vaccinations_percentage }} %{{ details_per_land[land].vaccination_reason_age }}{{ details_per_land[land].vaccination_reason_age_percentage }} %{{ details_per_land[land].vaccination_reason_job }}{{ details_per_land[land].vaccination_reason_job_percentage }} %{{ details_per_land[land].vaccination_reason_medical }}{{ details_per_land[land].vaccination_reason_medical_percentage }} %{{ details_per_land[land].vaccination_reason_oldhome }}{{ details_per_land[land].vaccination_reason_oldhome_percentage }} %
Gesamt{{ details_total.total_vaccinations }}{{ details_total.total_vaccinations_percentage }} %{{ details_total.vaccination_reason_age }}{{ details_total.vaccination_reason_age_percentage }} %{{ details_total.vaccination_reason_job }}{{ details_total.vaccination_reason_job_percentage }} %{{ details_total.vaccination_reason_medical }}{{ details_total.vaccination_reason_medical_percentage }} %{{ details_total.vaccination_reason_oldhome }}{{ details_total.vaccination_reason_oldhome_percentage }} %
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + {% for land in details_per_land %} + + + + + + + + + + + + + + {% endfor %} + + + + + + + + + + + + + + + + +
Land + Impfungen
+ gesamt +
Impfung wegen6
AlterBerufGesundheitPflegeheim
Anzahl%Anzahl%Anzahl%Anzahl%Anzahl%
{{ land }}{{ details_per_land[land].total_vaccinations }}{{ details_per_land[land].total_vaccinations_percentage }} %{{ details_per_land[land].vaccination_reason_age }}{{ details_per_land[land].vaccination_reason_age_percentage }} %{{ details_per_land[land].vaccination_reason_job }}{{ details_per_land[land].vaccination_reason_job_percentage }} %{{ details_per_land[land].vaccination_reason_medical }}{{ details_per_land[land].vaccination_reason_medical_percentage }} %{{ details_per_land[land].vaccination_reason_oldhome }}{{ details_per_land[land].vaccination_reason_oldhome_percentage }} %
Gesamt{{ details_total.total_vaccinations }}{{ details_total.total_vaccinations_percentage }} %{{ details_total.vaccination_reason_age }}{{ details_total.vaccination_reason_age_percentage }} %{{ details_total.vaccination_reason_job }}{{ details_total.vaccination_reason_job_percentage }} %{{ details_total.vaccination_reason_medical }}{{ details_total.vaccination_reason_medical_percentage }} %{{ details_total.vaccination_reason_oldhome }}{{ details_total.vaccination_reason_oldhome_percentage }} %
+
Tabelle 1: Details der Impfungen, aufgeschlüsselt nach Ländern
diff --git a/site/rki-dashboard.css b/site/rki-dashboard.css index 0400057..b02fda0 100644 --- a/site/rki-dashboard.css +++ b/site/rki-dashboard.css @@ -63,6 +63,11 @@ figure figcaption .ref { } figure { + margin: 0px; + padding: 1em 0.2em; +} + +figure div { overflow-y: auto; }