diff --git a/packages/grafana-ui/src/components/VizLegend/VizLegendList.tsx b/packages/grafana-ui/src/components/VizLegend/VizLegendList.tsx index 2f1786368af..d920eaa2ac1 100644 --- a/packages/grafana-ui/src/components/VizLegend/VizLegendList.tsx +++ b/packages/grafana-ui/src/components/VizLegend/VizLegendList.tsx @@ -73,14 +73,14 @@ const getStyles = (theme: GrafanaTheme) => ({ margin-bottom: ${theme.spacing.xs}; `, rightWrapper: css` - margin-left: ${theme.spacing.sm}; + padding-left: ${theme.spacing.sm}; `, bottomWrapper: css` display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; - margin-left: ${theme.spacing.md}; + padding-left: ${theme.spacing.md}; `, section: css` display: flex;