From 58feee0b53e38e787386d4d195a93db0dcd73435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 13 Dec 2022 12:50:57 +0100 Subject: [PATCH] TopNav: Align profile button with search bar toggle (#60212) --- public/app/core/components/AppChrome/TopSearchBar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app/core/components/AppChrome/TopSearchBar.tsx b/public/app/core/components/AppChrome/TopSearchBar.tsx index b4244f43365..f82fea10577 100644 --- a/public/app/core/components/AppChrome/TopSearchBar.tsx +++ b/public/app/core/components/AppChrome/TopSearchBar.tsx @@ -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',