From b304f52cebe61c4060a9a526450609967c42178b Mon Sep 17 00:00:00 2001 From: anghunk Date: Tue, 3 Feb 2026 15:01:43 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=A8=A1=E6=80=81?= =?UTF-8?q?=E6=A1=86=E5=92=8C=E5=8D=A1=E7=89=87=E7=BB=84=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整模态框宽度属性以改善响应式布局,移除卡片底部外边距并统一间距 --- cwd-admin/src/styles/common.less | 5 +---- cwd-admin/src/views/LayoutView/index.vue | 5 +++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/cwd-admin/src/styles/common.less b/cwd-admin/src/styles/common.less index 293be75..0204a7c 100644 --- a/cwd-admin/src/styles/common.less +++ b/cwd-admin/src/styles/common.less @@ -44,7 +44,7 @@ button { .page { display: flex; flex-direction: column; - gap: 12px; + gap: 15px; } .page-title { @@ -63,14 +63,11 @@ button { color: var(--color-danger); } - - .card { background-color: var(--bg-card); border-radius: 6px; border: 1px solid var(--border-color); padding: 12px 18px; - margin-bottom: 1em; } .card-header { diff --git a/cwd-admin/src/views/LayoutView/index.vue b/cwd-admin/src/views/LayoutView/index.vue index ac12b49..f9685b7 100644 --- a/cwd-admin/src/views/LayoutView/index.vue +++ b/cwd-admin/src/views/LayoutView/index.vue @@ -369,8 +369,9 @@ function closeVersionModal() { .modal { background-color: var(--bg-card); border-radius: 10px; - width: 420px; - max-width: 100%; + max-width: 420px; + width: 100%; + margin: 10px; padding: 20px 20px 18px; box-shadow: var(--shadow-card); display: flex;