From 873df8bd8e9c6aeaa37b3fa13d96bd696c51ab69 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 3 Mar 2024 03:34:42 +0100 Subject: [PATCH] Only apply horizontal diagram width on mobile --- formula10/static/style/diagram.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formula10/static/style/diagram.css b/formula10/static/style/diagram.css index 71fa8e3..a015382 100644 --- a/formula10/static/style/diagram.css +++ b/formula10/static/style/diagram.css @@ -3,7 +3,7 @@ height: 50vh; } -@media only screen and (orientation: landscape) { +@media only screen and (orientation: landscape) and (max-width: 900px) { .chart-container { width: 100%; height: 100vh;