From 158287c980bdf3c9f095812bc68c02aa2c37e382 Mon Sep 17 00:00:00 2001 From: GouJ Date: Wed, 23 Sep 2026 11:51:20 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=A2=9E=E5=8A=A0=E9=A6=96=E5=B8=A7?= =?UTF-8?q?=E5=80=99=E9=80=89=E8=AF=B4=E6=98=8E=E4=B8=8E=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/production/components/ShotProductionAssets.vue | 2 +- tests/features/production/production.test.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/features/production/components/ShotProductionAssets.vue b/src/features/production/components/ShotProductionAssets.vue index 51f67ef..9cb6ff2 100644 --- a/src/features/production/components/ShotProductionAssets.vue +++ b/src/features/production/components/ShotProductionAssets.vue @@ -547,7 +547,7 @@ async function inspectSpecs() { description="先完成质量检查;只有本会话校验通过的候选才能设为主首帧。" wide > -
+
{ 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/ )