mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message_row: Mock available icons to prevent post-echo reflow.
This commit is contained in:
@@ -912,6 +912,14 @@ of the base style defined for a read-only textarea in dark mode. */
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* Placehold the control buttons, unless there's a failure. */
|
||||
.locally-echoed
|
||||
.messagebox:hover
|
||||
.message_controls
|
||||
.message_control_button:not(.failed_message_action) {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.recipient_row {
|
||||
/* See https://stackoverflow.com/questions/2717480/css-selector-for-first-element-with-class/8539107#8539107
|
||||
for details on how this works */
|
||||
|
@@ -41,6 +41,8 @@
|
||||
{{#if msg/locally_echoed}}
|
||||
{{#if msg/failed_request}}
|
||||
{{> message_controls_failed_msg}}
|
||||
{{ else }}
|
||||
{{> message_controls .}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{> message_controls .}}
|
||||
|
Reference in New Issue
Block a user