diff --git a/web/src/tippyjs.ts b/web/src/tippyjs.ts index 0c1d149744..9f1cfcd742 100644 --- a/web/src/tippyjs.ts +++ b/web/src/tippyjs.ts @@ -167,6 +167,16 @@ export function initialize(): void { if ($container.data("view-code") === user_settings.web_home_view) { $container.find(".views-tooltip-home-view-note").removeClass("hide"); } + + // Since the tooltip is attached the anchor tag which doesn't + // include with of the ellipsis icon, we need to offset the + // tooltip so that the tooltip is displayed to right of the + // ellipsis icon. + if (instance.reference.classList.contains("left-sidebar-navigation-label-container")) { + instance.setProps({ + offset: [0, 40], + }); + } }, onHidden(instance) { instance.destroy(); diff --git a/web/templates/left_sidebar.hbs b/web/templates/left_sidebar.hbs index ec88ada1ed..cb6de50754 100644 --- a/web/templates/left_sidebar.hbs +++ b/web/templates/left_sidebar.hbs @@ -51,8 +51,8 @@