From 32cb4a8c7d7bb7a0a38815b5f29389e7d179091b Mon Sep 17 00:00:00 2001 From: Andy Pack Date: Sat, 1 Oct 2022 23:36:06 +0100 Subject: [PATCH] fixing overspilling charts on mobile --- Selector.Web/CSS/now.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Selector.Web/CSS/now.scss b/Selector.Web/CSS/now.scss index 117ef61..60a05e8 100644 --- a/Selector.Web/CSS/now.scss +++ b/Selector.Web/CSS/now.scss @@ -30,7 +30,9 @@ $shadow-color: #1e1e1e; } .chart-card { - width: 500px; + // width: 500px; + width: 100%; + max-width: max-content; } @media only screen and (min-width: 768px) { @@ -48,6 +50,10 @@ $shadow-color: #1e1e1e; width: 250px; } + + .chart-card { + width: 500px; + } } @media only screen and (min-width: 768px) {