compose: Fix send later tooltip being cut by compose box container.

This commit is contained in:
Aman Agrawal 2023-04-18 21:51:24 +00:00 committed by Tim Abbott
parent 1b89ab8095
commit 5f0fa1b730
2 changed files with 8 additions and 1 deletions

View File

@ -567,4 +567,11 @@ export function initialize() {
}, },
appendTo: () => document.body, appendTo: () => document.body,
}); });
delegate("body", {
target: "#send_later",
delay: LONG_HOVER_DELAY,
placement: "top",
appendTo: () => document.body,
});
} }

View File

@ -115,7 +115,7 @@
<button id="compose-schedule-confirm-button" class="button small hide animated-purple-button" tabindex=0> <button id="compose-schedule-confirm-button" class="button small hide animated-purple-button" tabindex=0>
<span>{{t 'Schedule' }}</span> <span>{{t 'Schedule' }}</span>
</button> </button>
<button class="animated-purple-button message-control-button tippy-zulip-tooltip" data-tippy-content="{{t 'Send later' }}" id="send_later" tabindex=0 type="button"> <button class="animated-purple-button message-control-button" id="send_later" tabindex=0 type="button" data-tippy-content="{{t 'Send later' }}">
<i class="fa fa-chevron-up"></i> <i class="fa fa-chevron-up"></i>
</button> </button>
</div> </div>