diff --git a/finance/app/static/style.css b/finance/app/static/style.css index aa4d6b3..1d8090d 100644 --- a/finance/app/static/style.css +++ b/finance/app/static/style.css @@ -39,6 +39,12 @@ table { margin-bottom: 1.5rem; } +/* Schmale Bildschirme: breite Tabellen scrollen in sich, nicht die Seite (A14). */ +@media (max-width: 600px) { + table { display: block; overflow-x: auto; } + fieldset { min-width: 0; } +} + th, td { border: 1px solid #ddd; padding: 0.4rem 0.6rem; diff --git a/finance/tests/test_aufteilung_gui.py b/finance/tests/test_aufteilung_gui.py index 343ca15..df080ec 100644 --- a/finance/tests/test_aufteilung_gui.py +++ b/finance/tests/test_aufteilung_gui.py @@ -342,3 +342,9 @@ def test_gewaehltes_segment_zuletzt_gezeichnet(): assert svg.index("M0 0 LBeta") < svg.index("M0 0 LAlpha") legende = html.split('