From e5365710b007055fc64e91f9fdddf357268d22ba Mon Sep 17 00:00:00 2001 From: MSuMshk <2039814060@qq.com> Date: Sat, 21 Feb 2026 14:31:56 +0800 Subject: [PATCH] style(project): adjust product schedule drawer spacing --- .../views/product/schedule/styles/drawer.less | 36 ++++++++++++------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/apps/web-antd/src/views/product/schedule/styles/drawer.less b/apps/web-antd/src/views/product/schedule/styles/drawer.less index 3e27aa8..6b0695d 100644 --- a/apps/web-antd/src/views/product/schedule/styles/drawer.less +++ b/apps/web-antd/src/views/product/schedule/styles/drawer.less @@ -1,16 +1,24 @@ .ptm-editor-drawer { + .g-drawer-bd { + padding: 24px 24px 20px; + } + .g-drawer-close .iconify { width: 16px; height: 16px; } .g-form-group { - margin-bottom: 16px; + margin-bottom: 20px; + } + + .g-form-group:last-child { + margin-bottom: 0; } .g-form-label { display: inline-flex; - margin-bottom: 8px; + margin-bottom: 10px; font-size: 13px; font-weight: 500; color: #1a1a2e; @@ -23,8 +31,9 @@ } .g-hint { - margin-top: 6px; + margin-top: 8px; font-size: 12px; + line-height: 1.5; color: #9ca3af; } @@ -129,7 +138,7 @@ .ptm-fg-row { display: flex; - gap: 10px; + gap: 12px; align-items: center; } @@ -138,23 +147,24 @@ } .ptm-fg-sep { - font-size: 14px; + font-size: 15px; color: #9ca3af; } .ptm-day-sel { display: flex; flex-wrap: wrap; - gap: 6px; - margin-bottom: 8px; + gap: 8px; + margin-bottom: 10px; } .ptm-day { display: inline-flex; align-items: center; justify-content: center; - width: 42px; - height: 28px; + min-width: 42px; + height: 30px; + padding: 0 6px; font-size: 12px; color: #9ca3af; cursor: pointer; @@ -172,7 +182,8 @@ .ptm-day-quick { display: flex; - gap: 6px; + gap: 8px; + margin-top: 2px; } .ptm-prod-search .g-input { @@ -182,8 +193,8 @@ .ptm-prod-selected { display: flex; flex-wrap: wrap; - gap: 6px; - margin-top: 10px; + gap: 8px; + margin-top: 12px; } .ptm-prod-chip { @@ -232,6 +243,7 @@ display: flex; gap: 10px; align-items: center; + margin-top: 2px; } }