[v9.4.x] Navigation: reserve horizontal space for img in SectionNavItem to avoid layout shift (#63865)
Navigation: reserve horizontal space for img in SectionNavItem to avoid layout shift (#63722)
(cherry picked from commit 429d693a4a)
Co-authored-by: Uladzimir Dzmitračkoŭ <3773351+going-confetti@users.noreply.github.com>
This commit is contained in:
co-authored by
Uladzimir Dzmitračkoŭ
parent
437cf15105
commit
a7c1598ca6
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user