From 429d693a4a0341131f13e8b5e8d6378879dcca60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uladzimir=20Dzmitra=C4=8Dko=C5=AD?= <3773351+going-confetti@users.noreply.github.com> Date: Tue, 28 Feb 2023 15:04:17 +0100 Subject: [PATCH] Navigation: reserve horizontal space for img in SectionNavItem to avoid layout shift (#63722) --- public/app/core/components/PageNew/SectionNavItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/PageNew/SectionNavItem.tsx b/public/app/core/components/PageNew/SectionNavItem.tsx index 7abf0634e6a..c05c2499407 100644 --- a/public/app/core/components/PageNew/SectionNavItem.tsx +++ b/public/app/core/components/PageNew/SectionNavItem.tsx @@ -102,7 +102,7 @@ const getStyles = (theme: GrafanaTheme2) => { margin-left: ${theme.spacing(1)}; `, sectionImg: css({ - height: 18, + width: 18, }), isSectionRoot: css({ fontSize: theme.typography.h4.fontSize,