diff --git a/packages/grafana-ui/src/themes/GlobalStyles/page.ts b/packages/grafana-ui/src/themes/GlobalStyles/page.ts index 1c301bc188d..4629736a8fd 100644 --- a/packages/grafana-ui/src/themes/GlobalStyles/page.ts +++ b/packages/grafana-ui/src/themes/GlobalStyles/page.ts @@ -88,12 +88,7 @@ export function getPageStyles(theme: GrafanaTheme2) { margin-bottom: ${theme.spacing(2)}; display: flex; align-items: flex-start; - - > a, - > button, - > div:nth-child(2) { - margin-left: ${theme.spacing(2)}; - } + gap: ${theme.spacing(2)}; } .page-action-bar--narrow {