Command palette: section styling tweaks (#62671)

section styling tweaks
This commit is contained in:
Ashley Harrison 2023-02-01 13:04:38 +00:00 committed by GitHub
parent faa920437c
commit 8d7e7693f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}),