From 554f33d033d1679a6ec5135fb5af733dc3ffdedd Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Mon, 13 Nov 2023 08:51:45 -0600 Subject: [PATCH] left_sidebar: Set shared right margin on DM section. --- web/styles/left_sidebar.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css index f16918136c..00c7c4cb3d 100644 --- a/web/styles/left_sidebar.css +++ b/web/styles/left_sidebar.css @@ -238,8 +238,14 @@ li.show-more-topics { } .direct-messages-container { + #private_messages_section { + /* Properly offset all the grid rows + in the DM section. */ + margin-right: 12px; + } + #private_messages_section_header { - grid-template-columns: 0 15px minmax(0, 1fr) max-content 30px 12px; + grid-template-columns: 0 15px minmax(0, 1fr) max-content 30px 0; grid-template-rows: 24px; /* TODO: Rewrite the `--left-sidebar-collapse-widget-gutter` value and the styles dependent on it so that this kind of