From d252d5513f91011fa1e3a75e059515f8c3fa32ff Mon Sep 17 00:00:00 2001 From: GouJ Date: Fri, 4 Sep 2026 12:45:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BC=A9=E5=B0=8F=E5=9B=BE=E5=BA=93?= =?UTF-8?q?=E5=85=B3=E8=81=94=E7=B4=A0=E6=9D=90=E5=8C=BA=E5=9F=9F=E7=9A=84?= =?UTF-8?q?=E4=B8=8A=E4=B8=8B=E5=86=85=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin.css | 2 +- src/components/ui/flatTheme.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/admin.css b/src/admin.css index bb41e19..a1269f8 100644 --- a/src/admin.css +++ b/src/admin.css @@ -1542,7 +1542,7 @@ body { display: flex; flex-direction: column; gap: 10px; - padding: 14px 16px; + padding: 5px 16px; background: var(--app-subtle); margin: 0; min-width: 0; diff --git a/src/components/ui/flatTheme.test.ts b/src/components/ui/flatTheme.test.ts index d3557b8..82d6d96 100644 --- a/src/components/ui/flatTheme.test.ts +++ b/src/components/ui/flatTheme.test.ts @@ -192,7 +192,7 @@ describe('全站平面主题', () => { /@container \(max-width: 1200px\)\s*\{\s*\.form-image-toolbar\.has-impact-picker,\s*\.form-image-toolbar\.has-impact-picker\.has-impact-actions\s*\{[^}]*grid-template-columns:\s*minmax\(0, 1fr\);/ ) expect(css).toMatch(/\.asset-impact-picker\s*\{[^}]*align-items:\s*center;[^}]*gap:\s*8px;/) - expect(css).toMatch(/\.asset-impact-context\s*\{[^}]*gap:\s*10px;[^}]*margin:\s*0;/) + expect(css).toMatch(/\.asset-impact-context\s*\{[^}]*gap:\s*10px;[^}]*padding:\s*5px 16px;[^}]*margin:\s*0;/) }) it('单图标按钮以当前控件高度为边长,尺寸与内容按钮互不影响', () => {