[v9.4.x] Command palette: section styling tweaks (#62682)

Command palette: section styling tweaks (#62671)

section styling tweaks

(cherry picked from commit 8d7e7693f2)

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2023-02-01 13:12:55 +00:00
committed by GitHub
co-authored by Ashley Harrison
parent 40354c6b40
commit 71a18da270
@@ -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,
}),