mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message_body: Remove link from message time when locally echoed.
Fixes #25069 Since the locally echoed link of message doesn't work, it is better to remove it.
This commit is contained in:
@@ -281,10 +281,13 @@ $time_column_max_width: 150px;
|
||||
/* Locally echoed messages. */
|
||||
&.locally-echoed .message_time {
|
||||
opacity: 0;
|
||||
/* Don't show pointer when message_time doesn't has a link. */
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* Show the spinner only for messages that are still locally echoed. */
|
||||
&.locally-echoed .slow-send-spinner {
|
||||
display: unset !important;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@
|
||||
|
||||
<span class="alert-msg"></span>
|
||||
|
||||
<a href="{{ msg/url }}" class="message_time{{#if status_message}} status-time{{/if}}">
|
||||
<a {{#unless msg/locally_echoed}}href="{{ msg/url }}"{{/unless}} class="message_time{{#if status_message}} status-time{{/if}}">
|
||||
{{#unless include_sender}}
|
||||
<span class="copy-paste-text"> </span>
|
||||
{{/unless}}
|
||||
|
Reference in New Issue
Block a user