mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user