actions: Show an arrow and render a tooltip on @ indicator.

This commit is contained in:
Karl Stolley
2023-08-23 14:12:40 -05:00
committed by Tim Abbott
parent 9709e1b4ed
commit c7adc5ee74
2 changed files with 4 additions and 1 deletions

View File

@@ -175,6 +175,8 @@
margin-right: 0; margin-right: 0;
/* Match with its font-size. */ /* Match with its font-size. */
line-height: 14px; line-height: 14px;
/* Present a default/arrow cursor */
cursor: default;
} }
.unread_hidden { .unread_hidden {

View File

@@ -51,7 +51,8 @@
</div> </div>
</div> </div>
{{else}} {{else}}
<span class="unread_mention_info {{#unless mention_in_unread}}unread_hidden{{/unless}}">@</span> <span class="unread_mention_info tippy-zulip-tooltip {{#unless mention_in_unread}}unread_hidden{{/unless}}"
data-tippy-content="{{t 'You have mentions'}}">@</span>
<div class="recent_topic_actions"> <div class="recent_topic_actions">
<div class="recent_topics_focusable hidden-for-spectators"> <div class="recent_topics_focusable hidden-for-spectators">
<span class="unread_count {{#unless unread_count}}unread_hidden{{/unless}} tippy-zulip-tooltip on_hover_topic_read" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Mark as read' }}" role="button" tabindex="0" aria-label="{{t 'Mark as read' }}">{{unread_count}}</span> <span class="unread_count {{#unless unread_count}}unread_hidden{{/unless}} tippy-zulip-tooltip on_hover_topic_read" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Mark as read' }}" role="button" tabindex="0" aria-label="{{t 'Mark as read' }}">{{unread_count}}</span>