From d5e95c0258621751ab670a56188ad6e604ec4b62 Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Fri, 16 Feb 2018 11:58:49 +0100 Subject: [PATCH] Fix price chart in iOS safari --- src/components/dashboard/currencyGraph.css | 9 +++++++++ src/components/dashboard/styles.css | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/dashboard/currencyGraph.css b/src/components/dashboard/currencyGraph.css index e475513d006..8f19fefbff2 100644 --- a/src/components/dashboard/currencyGraph.css +++ b/src/components/dashboard/currencyGraph.css @@ -42,6 +42,15 @@ } } +@media (--medium-viewport) { + .wrapper { + min-height: 300px; + } + + .chartWrapper { + min-height: 230px; + } +} @media (--small-viewport) { .stepSwitchWrapper { margin: 45px 0; diff --git a/src/components/dashboard/styles.css b/src/components/dashboard/styles.css index d2d654d0337..f44490ac71e 100644 --- a/src/components/dashboard/styles.css +++ b/src/components/dashboard/styles.css @@ -37,6 +37,8 @@ .wrapper { & .colHack { padding: 0; + max-width: 100%; + flex-basis: 100%; } margin: 0; @@ -44,7 +46,7 @@ .graph { height: 60%; - min-height: auto; + min-height: 300px; margin-bottom: 0; }