Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

left_sidebar: Better express stream-icon vertical alignment.

Karl Stolleyb6fd9c3584b1
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 5424f88b9ac..5d681092c64 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -27,25 +27,24 @@ $before_unread_count_padding: 3px;
}
.stream-privacy {
- font-size: 15px;
+ height: 16px;
font-weight: 700;
- min-width: $left_col_size;
text-align: center;
.zulip-icon.zulip-icon-globe {
font-size: 12px;
- position: relative;
- top: 1px;
}
.zulip-icon.zulip-icon-hashtag {
font-size: 13px;
- position: relative;
- top: 1.5px;
}
.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;
}
}
@@ -55,11 +54,6 @@ $before_unread_count_padding: 3px;
cursor: pointer;
}
-#stream_filters .zulip-icon-lock {
- position: relative;
- top: 2px;
-}
-
#global_filters .filter-icon i {
padding-right: 3px;
color: var(--color-global-filter-icon);