mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +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;
|
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 {
|
.recipient_row {
|
||||||
/* See https://stackoverflow.com/questions/2717480/css-selector-for-first-element-with-class/8539107#8539107
|
/* See https://stackoverflow.com/questions/2717480/css-selector-for-first-element-with-class/8539107#8539107
|
||||||
for details on how this works */
|
for details on how this works */
|
||||||
|
|||||||
@@ -41,6 +41,8 @@
|
|||||||
{{#if msg/locally_echoed}}
|
{{#if msg/locally_echoed}}
|
||||||
{{#if msg/failed_request}}
|
{{#if msg/failed_request}}
|
||||||
{{> message_controls_failed_msg}}
|
{{> message_controls_failed_msg}}
|
||||||
|
{{ else }}
|
||||||
|
{{> message_controls .}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{> message_controls .}}
|
{{> message_controls .}}
|
||||||
|
|||||||
Reference in New Issue
Block a user