From b571a25b3ca36dffe3717f2db51709b11908351d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Midb=C3=B8e?= Date: Thu, 23 Jan 2020 11:23:07 +0100 Subject: [PATCH] Max height on graphs --- src/ui/PurchaseGraph.vue | 2 ++ src/ui/WinGraph.vue | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/ui/PurchaseGraph.vue b/src/ui/PurchaseGraph.vue index 353abe7..b338ca3 100644 --- a/src/ui/PurchaseGraph.vue +++ b/src/ui/PurchaseGraph.vue @@ -134,10 +134,12 @@ export default { .chart { height: 40vh; + max-height: 364px; @include mobile { position: relative; width: 90vw !important; + max-height: unset; height: 50vh; margin-bottom: 2rem; } diff --git a/src/ui/WinGraph.vue b/src/ui/WinGraph.vue index d48818d..d1d09da 100644 --- a/src/ui/WinGraph.vue +++ b/src/ui/WinGraph.vue @@ -109,10 +109,12 @@ export default { .chart { height: 40vh; + max-height: 364px; @include mobile { position: relative; width: 90vw !important; + max-height: unset; height: 50vh; margin-bottom: 2rem; }