Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tooltip: Improve tooltip placement for search users icon in right sidebar.
akshatdaltonea4587071ac0
diff --git a/static/js/tippyjs.js b/static/js/tippyjs.jsindex b9a5c8203a8..dc85b803192 100644--- a/static/js/tippyjs.js+++ b/static/js/tippyjs.js@@ -181,7 +181,7 @@ export function initialize() {// ensures that tooltip doesn't hide behind the message// box or it is not limited by the parent container.delegate("body", {- target: [".recipient_bar_icon", ".sidebar-title"],+ target: [".recipient_bar_icon", ".sidebar-title", "#user_filter_icon"],placement: "top",appendTo: () => document.body,});diff --git a/static/templates/right_sidebar.hbs b/static/templates/right_sidebar.hbsindex 2563178cb31..04eb2c8c6d1 100644--- a/static/templates/right_sidebar.hbs+++ b/static/templates/right_sidebar.hbs@@ -4,7 +4,7 @@<div id="userlist-header"><h4 class='sidebar-title'id='userlist-title' data-tippy-content="{{t 'Search people' }} (w)">{{t 'USERS' }}</h4>- <i id="user_filter_icon" class="fa fa-search tippy-zulip-tooltip"+ <i id="user_filter_icon" class="fa fa-search"aria-hidden="true" aria-label="{{t 'Search people' }}"data-tippy-content="{{t 'Search people' }} (w)"></i>