message_header: Improve text selection.

Fixes: #34959.
This commit is contained in:
apoorvapendse
2025-06-25 12:26:30 +05:30
committed by Tim Abbott
parent 14231e9fe2
commit ab01079f40
3 changed files with 21 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
{{! stream link }}
<a class="message_label_clickable narrows_by_recipient stream_label tippy-narrow-tooltip"
href="{{stream_url}}"
draggable="false"
data-tippy-content="{{t 'Go to #{display_recipient}' }}">
<span class="stream-privacy-modified-color-{{stream_id}} stream-privacy filter-icon" style="color: {{stream_privacy_icon_color}}">
{{> stream_privacy .}}
@@ -26,6 +27,7 @@
<span class="stream_topic">
{{! topic link }}
<a class="message_label_clickable narrows_by_topic tippy-narrow-tooltip"
draggable="false"
href="{{topic_url}}"
data-tippy-content="{{t 'Go to #{display_recipient} > {topic_display_name}' }}">
{{#if (and use_match_properties (not is_empty_string_topic))}}
@@ -96,6 +98,7 @@
<div class="message-header-contents">
<a class="message_label_clickable narrows_by_recipient stream_label tippy-narrow-tooltip"
href="{{pm_with_url}}"
draggable="false"
data-tippy-content="{{#if is_dm_with_self}}{{t 'Go to direct messages with yourself' }}{{else}}{{t 'Go to direct messages with {display_reply_to_for_tooltip}' }}{{/if}}">
<span class="private_message_header_icon"><i class="zulip-icon zulip-icon-user"></i></span>
<span class="private_message_header_name">