diff --git a/packages/client/src/components/ui/tooltip.vue b/packages/client/src/components/ui/tooltip.vue
index 152c939a1a..f81bf2fc5b 100644
--- a/packages/client/src/components/ui/tooltip.vue
+++ b/packages/client/src/components/ui/tooltip.vue
@@ -116,7 +116,7 @@ const setPosition = () => {
let top: number;
if (props.targetElement) {
- left = (rect.left + window.pageXOffset) + props.innerMargin;
+ left = (rect.left + props.targetElement.offsetWidth + window.pageXOffset) + props.innerMargin;
top = rect.top + window.pageYOffset + (props.targetElement.offsetHeight / 2);
} else {
left = props.x + props.innerMargin;
diff --git a/packages/client/src/ui/_common_/navbar.vue b/packages/client/src/ui/_common_/navbar.vue
index 4fb3980142..924dda25d7 100644
--- a/packages/client/src/ui/_common_/navbar.vue
+++ b/packages/client/src/ui/_common_/navbar.vue
@@ -4,29 +4,38 @@
-
- {{ $ts.timeline }}
+
+ {{ i18n.ts.timeline }}
-
- {{ $ts[navbarItemDef[item].title] }}
+
+ {{ i18n.ts[navbarItemDef[item].title] }}
-
- {{ $ts.controlPanel }}
+
+ {{ i18n.ts.controlPanel }}
-
- {{ $ts.settings }}
+
+ {{ i18n.ts.settings }}
@@ -38,6 +47,7 @@ import * as os from '@/os';
import { navbarItemDef } from '@/navbar';
import { $i, openAccountMenu as openAccountMenu_ } from '@/account';
import { defaultStore } from '@/store';
+import { i18n } from '@/i18n';
const iconOnly = ref(false);