From 19795f9c07e7a39caf0534dab6bee0c581703639 Mon Sep 17 00:00:00 2001 From: Adela Almasan <88068998+adela-almasan@users.noreply.github.com> Date: Mon, 16 Oct 2023 20:54:16 -0600 Subject: [PATCH] Legend: Better support for 2 y-axis (#76092) --- packages/grafana-ui/src/components/VizLegend/VizLegendList.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/grafana-ui/src/components/VizLegend/VizLegendList.tsx b/packages/grafana-ui/src/components/VizLegend/VizLegendList.tsx index eb7558d1e6d..8bba52a7f37 100644 --- a/packages/grafana-ui/src/components/VizLegend/VizLegendList.tsx +++ b/packages/grafana-ui/src/components/VizLegend/VizLegendList.tsx @@ -109,6 +109,7 @@ const getStyles = (theme: GrafanaTheme2) => { justifyContent: 'space-between', width: '100%', paddingLeft: theme.spacing(0.5), + gap: '15px 25px', }), section: css({ display: 'flex', @@ -116,6 +117,7 @@ const getStyles = (theme: GrafanaTheme2) => { sectionRight: css({ justifyContent: 'flex-end', flexGrow: 1, + flexBasis: '50%', }), }; };