From 5cb14f4720f213b34b99edc2cac964874f427139 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 18 Apr 2023 19:26:59 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/8027 --- app/src/config/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/config/index.ts b/app/src/config/index.ts index 4aaade924..de6ccc3a5 100644 --- a/app/src/config/index.ts +++ b/app/src/config/index.ts @@ -24,11 +24,10 @@ export const openSetting = () => { if (exitDialog) { return exitDialog; } - const height = Math.min(window.innerHeight * .9 - 42, window.innerHeight * .7); const dialog = new Dialog({ - content: `
+ content: `
    -
    +
  • ${window.siyuan.languages.editor}
  • ${window.siyuan.languages.fileTree}
  • ${window.siyuan.languages.riffCard}