fix: 缩小图库关联素材区域的上下内边距

This commit is contained in:
GouJ
2026-09-04 12:45:52 +08:00
parent 989f2c1834
commit d252d5513f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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('单图标按钮以当前控件高度为边长,尺寸与内容按钮互不影响', () => {