From 74ee0a163c50a38b4aed1c06b18675d36c9cd878 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Tue, 15 Oct 2019 15:48:54 +0800 Subject: [PATCH] Make main graph more friendly on mobile --- assets/css/app.css | 12 +++++++++++- lib/plausible_web/templates/stats/stats.html.eex | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 7f38b126a..c938d3d03 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -64,7 +64,17 @@ blockquote { @tailwind utilities; #main-graph { - @screen sm { + height: 250px; +} + +@screen sm { + #main-graph { + height: 300px; + } +} + +@screen md { + #main-graph { height: 460px; } } diff --git a/lib/plausible_web/templates/stats/stats.html.eex b/lib/plausible_web/templates/stats/stats.html.eex index 7788a4304..3480662ff 100644 --- a/lib/plausible_web/templates/stats/stats.html.eex +++ b/lib/plausible_web/templates/stats/stats.html.eex @@ -75,7 +75,7 @@
-
+