From 319cfc7d7feb16922ace34eb03461006b6bf49d9 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Tue, 28 Nov 2023 16:25:55 -0600 Subject: [PATCH] left_sidebar: Establish better-centered DM row height. Despite the existing comment in the CSS, the previous DM row was 22.5px tall. Adjusting the padding makes for 22px tall box, which greatly improves the centering of the unread count within its bounding box. --- web/styles/left_sidebar.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css index e6846c8126..9c14dfcad1 100644 --- a/web/styles/left_sidebar.css +++ b/web/styles/left_sidebar.css @@ -1084,7 +1084,7 @@ li.topic-list-item { .dm-box { grid-template-columns: 7px 22px minmax(0, 1fr) minmax(0, max-content) 30px 0; /* This padding maintains a 22px height on DM rows. */ - padding: 2.25px 0; + padding: 2px 0; .conversation-partners-icon { grid-area: starting-anchor-element;