style: 增加首帧候选说明与列表间距

This commit is contained in:
GouJ committed 2026-09-23 11:51:20 +08:00
1 parent 4298438219
commit 158287c980
2 files changed
+2 -1

No files matched your search

@@ -547,7 +547,7 @@ async function inspectSpecs() {
description="先完成质量检查;只有本会话校验通过的候选才能设为主首帧。"
wide
>
<div v-if="keyframeCandidates.length" class="keyframe-grid">
<div v-if="keyframeCandidates.length" class="keyframe-grid mt-4">
<KeyframeCard
v-for="item in keyframeCandidates"
:key="item.id"
@@ -40,6 +40,7 @@ describe('镜头生产数据契约', () => {
it('首帧候选使用紧凑的自动填充网格,不随少量图片撑满整行', () => {
const source = readFileSync('src/features/production/components/ShotProductionAssets.vue', 'utf8')
expect(source).toContain('v-if="keyframeCandidates.length" class="keyframe-grid mt-4"')
expect(source).toMatch(
/\.keyframe-grid\s*\{[^}]*grid-cols-\[repeat\(auto-fill,_minmax\(180px,_1fr\)\)\][^}]*gap-3/
)