From 1d5e026b66869fc9c2d8b1b8684aa8a534b955fa Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Thu, 11 May 2023 09:58:00 -0500 Subject: [PATCH] left_sidebar: Adjust size and position of DM icons. --- web/styles/left_sidebar.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css index 2673836a24..6d1f331be9 100644 --- a/web/styles/left_sidebar.css +++ b/web/styles/left_sidebar.css @@ -624,7 +624,7 @@ li.topic-list-item { .pm-box { margin-right: 16px; - align-items: center; + align-items: baseline; /* Sets .user_circle alignment relative to text; standard icons do not participate in flex. */ .user_circle { min-width: 8px; @@ -637,7 +637,8 @@ li.topic-list-item { } .zulip-icon.zulip-icon-bot { - padding: 3px 0; + font-size: 90%; /* Reduce the bulkiness of this icon */ + padding: 3px 0 3px 1px; /* Shift reduced icon a pixel left to maintain horizontal centering. */ } }