diff --git a/public/app/core/components/NavBar/Next/NavBarMenu.tsx b/public/app/core/components/NavBar/Next/NavBarMenu.tsx index 404a60f3989..d7fed06bd05 100644 --- a/public/app/core/components/NavBar/Next/NavBarMenu.tsx +++ b/public/app/core/components/NavBar/Next/NavBarMenu.tsx @@ -135,10 +135,12 @@ function NavItem({ isActive={link === activeItem} >
- {link.img && ( - {`${link.text} - )} - {link.icon && } +
+ {link.icon && } + {link.img && ( + {`${link.text} + )} +
{link.text}
@@ -177,6 +179,9 @@ const getNavItemStyles = (theme: GrafanaTheme2) => ({ fullWidth: css({ width: '100%', }), + iconContainer: css({ + placeContent: 'center', + }), savedItemsMenuItemWrapper: css({ display: 'grid', gridAutoFlow: 'column',