mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
trash-icon: Replace remaining fa-trash icons with zulip-icon-trash and update buttons.
Fixes: #34378.
This commit is contained in:
committed by
Tim Abbott
parent
d1023660da
commit
c41a96a954
@@ -769,6 +769,22 @@ export function initialize(): void {
|
||||
},
|
||||
});
|
||||
|
||||
tippy.delegate("body", {
|
||||
target: ".delete-option",
|
||||
delay: LONG_HOVER_DELAY,
|
||||
appendTo: () => document.body,
|
||||
placement: "top",
|
||||
onShow(instance) {
|
||||
/* Ensure the tooltip remains visible even when data-reference-hidden is set. */
|
||||
$(instance.popper).find(".tippy-box").addClass("show-when-reference-hidden");
|
||||
|
||||
instance.setContent($t({defaultMessage: "Delete"}));
|
||||
},
|
||||
onHidden(instance) {
|
||||
instance.destroy();
|
||||
},
|
||||
});
|
||||
|
||||
tippy.delegate("body", {
|
||||
target: [
|
||||
"#personal-menu-dropdown .info-density-button-container",
|
||||
|
||||
Reference in New Issue
Block a user