Navigation: fix page title spacing when there is no subtitle (#58654)

* fix page title spacing when there is no subtitle

* apply margin to whole page header
This commit is contained in:
Ashley Harrison
2022-11-11 14:43:11 +00:00
committed by GitHub
parent e5cb1ceae0
commit 0bd120e01b

View File

@@ -72,13 +72,13 @@ const getStyles = (theme: GrafanaTheme2) => {
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
gap: theme.spacing(1), gap: theme.spacing(1),
marginBottom: theme.spacing(2),
}), }),
pageTitle: css({ pageTitle: css({
display: 'flex', display: 'flex',
marginBottom: 0, marginBottom: 0,
}), }),
subTitle: css({ subTitle: css({
marginBottom: theme.spacing(2),
position: 'relative', position: 'relative',
color: theme.colors.text.secondary, color: theme.colors.text.secondary,
}), }),