From 0bd120e01b5b761c14c37dcd3fcaf42bc83443f8 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Fri, 11 Nov 2022 14:43:11 +0000 Subject: [PATCH] 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 --- public/app/core/components/PageNew/PageHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/PageNew/PageHeader.tsx b/public/app/core/components/PageNew/PageHeader.tsx index b0d3161bdbd..beaabaac0ce 100644 --- a/public/app/core/components/PageNew/PageHeader.tsx +++ b/public/app/core/components/PageNew/PageHeader.tsx @@ -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, }),