mirror of https://github.com/zulip/zulip.git
tooltips: Use tippy tooltips for drafts and schedule message overlays.
Fixes #25892
This commit is contained in:
parent
a68edd5b56
commit
e549c416db
|
@ -953,6 +953,7 @@ div.overlay {
|
|||
padding: 10px;
|
||||
|
||||
.message_content {
|
||||
cursor: pointer;
|
||||
grid-column: 1 / 2;
|
||||
/* to space from restore draft button */
|
||||
margin-right: 5px;
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<i class="fa fa-trash-o fa-lg delete-draft delete-overlay-message tippy-zulip-tooltip" aria-hidden="true" data-tooltip-template-id="delete-draft-tooltip-template"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="message_content rendered_markdown restore-draft restore-overlay-message" title="{{t 'Restore draft' }}">{{rendered_markdown content}}</div>
|
||||
<div class="message_content rendered_markdown restore-draft restore-overlay-message tippy-zulip-delayed-tooltip" data-tooltip-template-id="restore-draft-tooltip-template">{{rendered_markdown content}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<i class="fa fa-trash-o fa-lg delete-overlay-message tippy-zulip-tooltip" aria-hidden="true" data-tooltip-template-id="delete-scheduled-message-tooltip-template"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="message_content rendered_markdown restore-overlay-message" title="{{t 'Edit or reschedule message' }}">{{rendered_markdown rendered_content}}</div>
|
||||
<div class="message_content rendered_markdown restore-overlay-message tippy-zulip-delayed-tooltip" data-tooltip-template-id="restore-scheduled-message-tooltip-template">{{rendered_markdown rendered_content}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue