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',
flexDirection: 'column',
gap: theme.spacing(1),
marginBottom: theme.spacing(2),
}),
pageTitle: css({
display: 'flex',
marginBottom: 0,
}),
subTitle: css({
marginBottom: theme.spacing(2),
position: 'relative',
color: theme.colors.text.secondary,
}),