From 01fd487bc10a2e8743b22147eff84d5d08e583e2 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 1 Dec 2022 22:38:29 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/6761 --- app/src/layout/Wnd.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.ts index 9d9d536be..c6932096c 100644 --- a/app/src/layout/Wnd.ts +++ b/app/src/layout/Wnd.ts @@ -43,6 +43,9 @@ export class Wnd { this.resize = resize; this.element = document.createElement("div"); this.element.classList.add("fn__flex-1", "fn__flex"); + if (resize === "tb") { + this.element.style.minHeight = "64px" + } let dragHTML = '
'; if (parentType === "left" || parentType === "right" || parentType === "top" || parentType === "bottom") { dragHTML = "";