From 967c4ebea1ab611a8f0964d238376ce5cfcdbe08 Mon Sep 17 00:00:00 2001 From: GJ Date: Thu, 8 Oct 2026 16:05:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(short-drama-agent-front):=20=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=B7=A5=E4=BD=9C=E5=8C=BA=E9=97=B4=E8=B7=9D=E4=B8=8E?= =?UTF-8?q?=E4=BA=AE=E8=89=B2=E8=83=8C=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ui/AppDialog.vue | 5 +++ src/components/ui/WorkspacePage.vue | 43 ++++++------------- src/features/breakdown/BreakdownPage.vue | 20 ++++++--- src/features/create-drama/CreateDramaPage.vue | 3 -- src/features/production/ProductionPage.vue | 2 +- src/features/projects/ProjectLayout.vue | 15 ++++--- src/features/projects/ProjectsPage.vue | 7 +-- src/features/storyboard/StoryboardPage.vue | 2 +- .../subject-images/SubjectImagesPage.vue | 7 +-- src/styles/admin.css | 43 ++++++++++++++++++- 10 files changed, 87 insertions(+), 60 deletions(-) diff --git a/src/components/ui/AppDialog.vue b/src/components/ui/AppDialog.vue index 618655d..d8e2f2b 100644 --- a/src/components/ui/AppDialog.vue +++ b/src/components/ui/AppDialog.vue @@ -149,6 +149,11 @@ onBeforeUnmount(() => { padding-bottom: 0; } +/* 没有按钮底栏时,正文保留与左右内边距一致的底部留白。 */ +.app-dialog.n-card:not(:has(> .n-card__footer)) > .n-card-content { + padding-bottom: var(--n-padding-left); +} + .app-dialog.n-card > .n-card__footer { padding-top: var(--n-padding-left); padding-bottom: var(--n-padding-left); diff --git a/src/components/ui/WorkspacePage.vue b/src/components/ui/WorkspacePage.vue index 8539f38..6147932 100644 --- a/src/components/ui/WorkspacePage.vue +++ b/src/components/ui/WorkspacePage.vue @@ -5,6 +5,7 @@ defineProps<{ split?: boolean; compact?: boolean }>()