优化单屏页面布局与长列表分页
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-06 17:14:02 +08:00
1 parent 09c7f6e6df
commit 8178b02636
14 files changed
+271 -32

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ test('分组不显示重复标题和介绍,保留无障碍名称、凭据状
assert.doesNotMatch(css, /form-group-heading|form-group-description/)
const formStyle = css.match(/\.config-form\s*\{([^}]+)\}/)?.[1] || ''
assert.doesNotMatch(formStyle, /margin-top|padding-top/)
assert.match(css, /\.config-form:not\(:first-child\)\s*\{\s*margin-top: 16px;/)
assert.match(css, /\.config-form:not\(:first-child\)\s*\{\s*margin-top: 10px;/)
assert.match(css, /\.form-group \+ \.form-group\s*\{[^}]*border-top:/)
})