From 1ad558171df64d1ab044be2da834a1b2d026d8cf Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 3 Mar 2024 03:38:25 +0100 Subject: [PATCH] Decrease diagram height on large screens --- formula10/static/style/diagram.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/formula10/static/style/diagram.css b/formula10/static/style/diagram.css index a015382..ec9fc09 100644 --- a/formula10/static/style/diagram.css +++ b/formula10/static/style/diagram.css @@ -1,6 +1,13 @@ .chart-container { width: 100%; - height: 50vh; + height: 40vh; +} + +@media only screen and (max-width: 900px) { + .chart-container { + width: 100%; + height: 50vh; + } } @media only screen and (orientation: landscape) and (max-width: 900px) {