From df28cc69b404afd6a038c15803ca69e35d9be5c0 Mon Sep 17 00:00:00 2001 From: Jack Westbrook Date: Wed, 14 Oct 2020 15:39:39 +0200 Subject: [PATCH] fix: prevent graph-panel legend overflowing container (#28254) --- public/sass/components/_panel_graph.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/sass/components/_panel_graph.scss b/public/sass/components/_panel_graph.scss index df6bd3e6b18..c2b7b38f8ff 100644 --- a/public/sass/components/_panel_graph.scss +++ b/public/sass/components/_panel_graph.scss @@ -8,7 +8,7 @@ flex-direction: row; .graph-legend { - flex: 0 1 10px; + flex: 1 1 10px; max-height: 100%; } @@ -46,10 +46,11 @@ .graph-legend { display: flex; - flex: 0 1 auto; + flex: 1 1 auto; max-height: 35%; margin: 0; text-align: center; + overflow-y: auto; padding-top: 6px; position: relative;