From b8093bd0d98d81e8365d0336da69e5d187414a61 Mon Sep 17 00:00:00 2001 From: Josh Hunt Date: Tue, 9 May 2023 09:44:14 +0000 Subject: [PATCH] Chore: Remove nth-child warning from dev mode (#67918) --- packages/grafana-ui/src/themes/GlobalStyles/page.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 {