From 7e2b5a5bb0e0cef6388a8e162c4a36c2ca6f5d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Midb=C3=B8e?= Date: Fri, 19 Feb 2021 09:23:10 +0100 Subject: [PATCH] Only have fixed height on graph on desktop. --- frontend/ui/PurchaseGraph.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/ui/PurchaseGraph.vue b/frontend/ui/PurchaseGraph.vue index c43ae71..58d14d7 100644 --- a/frontend/ui/PurchaseGraph.vue +++ b/frontend/ui/PurchaseGraph.vue @@ -168,9 +168,12 @@ export default { @import "@/styles/media-queries.scss"; .chart { - height: 40vh; - max-height: 500px; width: 100%; + + @include desktop { + height: 40vh; + max-height: 500px; + } } .year-select {