From c237149a88d4a7e6edc8ebbe2823da5a177dda1d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 14 Feb 2023 14:01:18 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=8F=B3=E4=BE=A7=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E5=88=B0=E5=85=B6=E5=AE=83=E4=BE=A7=E5=86=8D?= =?UTF-8?q?=E7=A7=BB=E5=9B=9E=E6=9D=A5=E5=AE=BD=E5=BA=A6=E8=BF=87=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/layout/dock/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/layout/dock/index.ts b/app/src/layout/dock/index.ts index ee78b4767..138575b14 100644 --- a/app/src/layout/dock/index.ts +++ b/app/src/layout/dock/index.ts @@ -525,7 +525,7 @@ ${this.position === "Top" ? "top" : "bottom"}:-${this.layout.element.clientHeigh this.element.querySelectorAll(".dock__item--active").forEach((item) => { let size; if (this.position === "Left" || this.position === "Right") { - size = parseInt(item.getAttribute("data-width")) || 240; + size = parseInt(item.getAttribute("data-width")) || (["graph", "globalGraph", "backlink"].includes(item.getAttribute("data-type")) ? 320 : 240); } else { size = parseInt(item.getAttribute("data-height")) || 240; }