From af066a46306f2f476aa2944b14df3de1faf1e96d Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" <70410625+michael-s-molina@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:50:21 -0300 Subject: [PATCH] fix: DeckGL legend layout (#30140) --- .../legacy-preset-chart-deckgl/src/components/Legend.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/superset-frontend/plugins/legacy-preset-chart-deckgl/src/components/Legend.tsx b/superset-frontend/plugins/legacy-preset-chart-deckgl/src/components/Legend.tsx index 2b0a9b40d..ab8ae78b7 100644 --- a/superset-frontend/plugins/legacy-preset-chart-deckgl/src/components/Legend.tsx +++ b/superset-frontend/plugins/legacy-preset-chart-deckgl/src/components/Legend.tsx @@ -40,11 +40,13 @@ const StyledLegend = styled.div` margin: 0; & li a { + display: flex; color: ${theme.colors.grayscale.base}; text-decoration: none; + padding: ${theme.gridUnit}px 0; & span { - margin-right: ${theme.gridUnit * 3}px; + margin-right: ${theme.gridUnit}px; } } }