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('单图标按钮以当前控件高度为边长,尺寸与内容按钮互不影响', () => {