TopNav: Align profile button with search bar toggle (#60212)

This commit is contained in:
Torkel Ödegaard
2022-12-13 12:50:57 +01:00
committed by GitHub
parent 1b1f2475c2
commit 58feee0b53
@@ -63,7 +63,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
display: 'flex',
gap: theme.spacing(1),
alignItems: 'center',
padding: theme.spacing(0, 2),
padding: theme.spacing(0, 1, 0, 2),
borderBottom: `1px solid ${theme.colors.border.weak}`,
justifyContent: 'space-between',
@@ -78,6 +78,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
display: 'flex',
}),
profileButton: css({
padding: theme.spacing(0, 0.25),
img: {
borderRadius: '50%',
height: '24px',