From 71a18da270647f886f6ba3e18e6c3c8e3deb2094 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Wed, 1 Feb 2023 13:12:55 +0000 Subject: [PATCH] [v9.4.x] Command palette: section styling tweaks (#62682) Command palette: section styling tweaks (#62671) section styling tweaks (cherry picked from commit 8d7e7693f260e17550130ac442429eaa820b2d28) Co-authored-by: Ashley Harrison --- public/app/features/commandPalette/CommandPalette.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/app/features/commandPalette/CommandPalette.tsx b/public/app/features/commandPalette/CommandPalette.tsx index fa6671affa3..9b19cf667dd 100644 --- a/public/app/features/commandPalette/CommandPalette.tsx +++ b/public/app/features/commandPalette/CommandPalette.tsx @@ -166,14 +166,15 @@ const getSearchStyles = (theme: GrafanaTheme2) => { paddingBottom: theme.spacing(1), }), sectionHeader: css({ - padding: theme.spacing(1.5, 2, 1, 2), + padding: theme.spacing(1.5, 2, 2, 2), fontSize: theme.typography.bodySmall.fontSize, fontWeight: theme.typography.fontWeightMedium, - color: theme.colors.text.primary, + color: theme.colors.text.secondary, borderTop: `1px solid ${theme.colors.border.weak}`, marginTop: theme.spacing(1), }), sectionHeaderFirst: css({ + paddingBottom: theme.spacing(1), borderTop: 'none', marginTop: 0, }),