From dda75a56bc16337c1aa334310374d4c0f97a49c6 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Thu, 23 May 2024 14:31:08 -0400 Subject: [PATCH] left_sidebar: Consolidate .stream-privacy styles. --- web/styles/left_sidebar.css | 41 +++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css index fa512c64f5..c95c2c62df 100644 --- a/web/styles/left_sidebar.css +++ b/web/styles/left_sidebar.css @@ -26,28 +26,6 @@ $before_unread_count_padding: 3px; } } -#streams_list .stream-privacy { - height: 16px; - font-weight: 700; - text-align: center; - - .zulip-icon.zulip-icon-globe { - font-size: 12px; - } - - .zulip-icon.zulip-icon-hashtag { - font-size: 13px; - } - - .zulip-icon.zulip-icon-lock { - font-size: 13px; - /* Slight vertical adjustment so the lock - doesn't sit too high, relative to the - other stream icons. */ - padding-top: 2px; - } -} - .left-sidebar-title { color: var(--color-text-sidebar-heading); font-size: inherit; @@ -912,6 +890,25 @@ li.top_left_scheduled_messages { .stream-privacy { grid-area: starting-anchor-element; + height: 16px; + font-weight: 700; + text-align: center; + + .zulip-icon.zulip-icon-globe { + font-size: 12px; + } + + .zulip-icon.zulip-icon-hashtag { + font-size: 13px; + } + + .zulip-icon.zulip-icon-lock { + font-size: 13px; + /* Slight vertical adjustment so the lock + doesn't sit too high, relative to the + other stream icons. */ + padding-top: 2px; + } } .stream-name {