From aea4167ba6323595a91ddf027b90b0f1bace7b7b Mon Sep 17 00:00:00 2001 From: GouJ Date: Sun, 27 Sep 2026 14:02:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E5=8C=BA=E5=BC=B9=E7=AA=97=E6=BB=9A=E5=8A=A8=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=E5=B9=B6=E9=9A=90=E8=97=8F=E6=BB=9A=E5=8A=A8=E8=BD=A8=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ui/WorkspaceTools.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/ui/WorkspaceTools.vue b/src/components/ui/WorkspaceTools.vue index 6609299..433f31d 100644 --- a/src/components/ui/WorkspaceTools.vue +++ b/src/components/ui/WorkspaceTools.vue @@ -44,14 +44,18 @@ const open = defineModel('open', { default: false }) /* 本组件专属布局与 Naive 内部结构覆盖。 */ @reference "../../styles/styles.css"; .workspace-tools-modal { - @apply max-h-[calc(100dvh-32px)] flex flex-col; + @apply max-h-[calc(100dvh-32px)] flex flex-col overflow-hidden; } .workspace-tools-modal .n-card__content { @apply min-h-0 flex-1 overflow-hidden; + height: 0; } .workspace-tools-scroll.n-scrollbar { @apply min-h-0 h-full; } +.workspace-tools-scroll.n-scrollbar .n-scrollbar-rail { + display: none !important; +} .workspace-tools-modal .n-card-header__close { @apply grid place-items-center w-10 h-10 -m-2 rounded-none bg-transparent; }