diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index ad7d90a8e..749fffb88 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -28,7 +28,7 @@ gotIt: "わかった" cancel: "キャンセル" enterUsername: "ユーザー名を入力" renotedBy: "{user}がRenote" -noNotes: ノートはありません" +noNotes: "ノートはありません" noNotifications: "通知はありません" instance: "インスタンス" settings: "設定" diff --git a/src/client/app.vue b/src/client/app.vue index 35ae6afc9..79873f131 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -248,6 +248,8 @@ export default Vue.extend({ // https://stackoverflow.com/questions/33891709/when-flexbox-items-wrap-in-column-mode-container-does-not-grow-its-width if (this.enableWidgets) { setInterval(() => { + if (!this.$refs.widgetsEditButton) return; + const width = this.$refs.widgetsEditButton.offsetLeft + 300; this.$refs.widgets.style.width = width + 'px'; }, 1000);