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.

message_row: Allow user avatar to scale with UI.

Karl Stolley47430ac719d9
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 052f75010e6..ea93846a78b 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -147,9 +147,11 @@
/*
Message box elements and values.
*/
- --message-box-avatar-width: 35px;
+ /* 35px at 14px/1em */
+ --message-box-avatar-width: 2.5em;
--message-box-avatar-height: var(--message-box-avatar-width);
- --message-box-avatar-column-width: 46px;
+ /* 46px at 14px/1em */
+ --message-box-avatar-column-width: 3.2857em;
/* Increase the margin here to account for the
focus ring, which is is offset by -1px, as well
as the vertical height between the hover icons