Navigation: reserve horizontal space for img in SectionNavItem to avoid layout shift (#63722)

This commit is contained in:
Uladzimir Dzmitračkoŭ
2023-02-28 15:04:17 +01:00
committed by GitHub
parent 35629a1f07
commit 429d693a4a
@@ -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,