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: Allow masked unreads to scale.

Karl Stolleyab58a2c6562b
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index c6e44896efa..4e0b89abc02 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -247,7 +247,8 @@
--left-sidebar-before-unread-count-padding: 3px;
/* 15px is the approximate width of a single-digit
unread marker. */
- --left-sidebar-single-digit-unread-width: 15px;
+ /* 15px at 16px/1em */
+ --left-sidebar-single-digit-unread-width: 0.9375em;
--left-sidebar-right-margin: 12px;
/* 289px at 14px/1em */
--left-sidebar-max-width: calc(
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 5c28b16c4b9..e76101a53d5 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -55,7 +55,8 @@
}
.masked_unread_count {
- font-size: 8px;
+ /* 8px at 16px/14em */
+ font-size: 0.5em;
display: none;
/* Masked unreads display as flex when revealed. */
align-items: center;