From 9c3a4eb9478801061c97808808f8d9b98762e330 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Sun, 22 Mar 2020 19:41:35 +0900
Subject: Fix bug

---
 src/client/app.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/client/app.vue')

diff --git a/src/client/app.vue b/src/client/app.vue
index b47c092ed2..650ebbd2b4 100644
--- a/src/client/app.vue
+++ b/src/client/app.vue
@@ -246,7 +246,10 @@ export default Vue.extend({
 		if (this.isDesktop) this.adjustWidgetsWidth();
 
 		const adjustTitlePosition = () => {
-			this.$refs.title.style.left = (this.$refs.main.getBoundingClientRect().left - this.$refs.nav.offsetWidth) + 'px';
+			const left = this.$refs.main.getBoundingClientRect().left - this.$refs.nav.offsetWidth;
+			if (left >= 0) {
+				this.$refs.title.style.left = left + 'px';
+			}
 		};
 
 		adjustTitlePosition();
-- 
cgit v1.3.1-freya

