Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

left_sidebar: Center Streams tooltip over heading text.

Karl Stolley5f1c9ca10711
diff --git a/web/src/tippyjs.js b/web/src/tippyjs.js
index 57b7ebbe1ca..03f8895e4e9 100644
--- a/web/src/tippyjs.js
+++ b/web/src/tippyjs.js
@@ -215,7 +215,7 @@ export function initialize() {
delegate("body", {
target: [
- "#streams_header .left-sidebar-title",
+ "#streams_header .streams-tooltip-target",
"#userlist-title",
"#user_filter_icon",
"#scroll-to-bottom-button-clickable-area",
diff --git a/web/templates/left_sidebar.hbs b/web/templates/left_sidebar.hbs
index 0e848a7a45a..e67fa5e36b3 100644
--- a/web/templates/left_sidebar.hbs
+++ b/web/templates/left_sidebar.hbs
@@ -158,7 +158,7 @@
<div id="streams_list" class="zoom-out">
<div id="streams_header" class="zoom-in-hide">
- <h4 class="left-sidebar-title" data-tooltip-template-id="filter-streams-tooltip-template">{{t 'STREAMS' }}</h4>
+ <h4 class="left-sidebar-title"><span class="streams-tooltip-target" data-tooltip-template-id="filter-streams-tooltip-template">{{t 'STREAMS' }}</span></h4>
<div class="heading-markers-and-controls">
<i id="filter_streams_tooltip" class="streams_filter_icon fa fa-filter" aria-hidden="true" data-tooltip-template-id="filter-streams-tooltip-template"></i>
</div>