From 2fdb47ab4dfb46b1ee20a43dc6fe2177ccff7219 Mon Sep 17 00:00:00 2001 From: evykassirer Date: Wed, 4 Dec 2024 23:17:11 -0800 Subject: [PATCH] right_sidebar: Shrink invite user icon to line up text. --- web/styles/right_sidebar.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.css index 134a79e4b617a..0374b09b782a6 100644 --- a/web/styles/right_sidebar.css +++ b/web/styles/right_sidebar.css @@ -569,13 +569,14 @@ $user_status_emoji_width: 24px; padding-left: 0; .invite-user-link { - padding-left: var(--right-sidebar-heading-left-spacing); - grid-template-columns: auto minmax(0, 1fr); + grid-template-columns: + var(--right-sidebar-header-icon-toggle-width) + minmax(0, 1fr); .zulip-icon-user-plus { justify-self: center; - /* Some space between the icon and text */ - margin-right: 5px; + /* Smaller icon size to align the link text with the other buddy list links */ + font-size: 13px; } } }