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.

stars: Placehold container width in local echo.

Karl Stolley1f8b2b904621
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 99d09cedfaf..d6fde625966 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -938,11 +938,18 @@ of the base style defined for a read-only textarea in dark mode. */
}
/* Placehold the control buttons, unless there's a failure. */
-.locally-echoed
+.locally-echoed {
.messagebox:hover
- .message_controls
- .message_control_button:not(.failed_message_action) {
- visibility: hidden;
+ .message_controls
+ .message_control_button:not(.failed_message_action) {
+ visibility: hidden;
+ }
+ /* The actual star icon is not added to the DOM when a
+ message is locally echoed, so we set the equivalent
+ width on its container. */
+ .star_container {
+ width: var(--message-box-icon-width);
+ }
}
.recipient_row {