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_feed: Size mobile controls to icon widths.

Karl Stolley75293feefb94
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 14895a82214..a57dd4fe946 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -144,10 +144,11 @@ $time_column_min_width: 42px; /* + padding */
". reactions . . . ";
@media (width < $sm_min), ((width >= $md_min) and (width < $mc_min)) {
- grid-template-columns: $avatar_column_width minmax(0, 1fr) max-content 8px minmax(
- $time_column_min_width,
- max-content
- );
+ grid-template-columns:
+ $avatar_column_width minmax(0, 1fr) calc(
+ 2 * var(--message-box-icon-width)
+ )
+ 8px minmax($time_column_min_width, max-content);
}
.message_controls {