message_row: Rename `local` class to be more verbose.

This commit is contained in:
Aman Agrawal 2023-04-15 10:01:15 +00:00 committed by Tim Abbott
parent 7bd66891f0
commit 2c83efc6b4
2 changed files with 3 additions and 3 deletions

View File

@ -279,12 +279,12 @@ $time_column_max_width: 150px;
}
/* Locally echoed messages. */
&.local .message_time {
&.locally-echoed .message_time {
opacity: 0;
}
/* Show the spinner only for messages that are still locally echoed. */
&.local .slow-send-spinner {
&.locally-echoed .slow-send-spinner {
display: unset !important;
}
}

View File

@ -1,5 +1,5 @@
<div zid="{{msg/id}}" id="{{table_name}}{{msg/id}}"
class="message_row{{#unless msg/is_stream}} private-message{{/unless}}{{#include_sender}} include-sender{{/include_sender}}{{#if mention_classname}} {{mention_classname}}{{/if}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.locally_echoed}}local{{/if}} selectable_row"
class="message_row{{#unless msg/is_stream}} private-message{{/unless}}{{#include_sender}} include-sender{{/include_sender}}{{#if mention_classname}} {{mention_classname}}{{/if}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.locally_echoed}}locally-echoed{{/if}} selectable_row"
role="listitem">
<div class="unread_marker"><div class="unread-marker-fill"></div></div>
{{#if want_date_divider}}