fix: 修正视频引用素材缩略图布局

This commit is contained in:
GouJ committed 2026-09-24 18:10:21 +08:00
1 parent 680024b792
commit 8e402e2846
2 files changed
+30 -13

No files matched your search

+3 -1
View File
@@ -47,7 +47,9 @@ describe('镜头生产数据契约', () => {
expect(source).toMatch(/\.keyframe-card \.asset-image\s*\{[^}]*aspect-square/)
expect(source).toMatch(/\.production-video\s*\{[^}]*aspect-square/)
expect(source).toMatch(/\.video-input-card\s*\{[^}]*bg-\(--app-control\)/)
expect(source).toContain('class="video-input-ref" :title="reference.subjectRef"')
expect(source).toMatch(/\.video-input-image\s*\{[^}]*aspect-square/)
expect(source).toContain('object-fit="cover"')
expect(source).not.toContain('class="video-input-ref"')
expect(source).not.toContain('{{ reference.subjectFormName }} · {{ reference.subjectRef }}')
expect(source).toMatch(
/@media \(max-width: 760px\)[\s\S]*?\.video-grid\s*\{[^}]*grid-cols-\[repeat\(2,_minmax\(0,_1fr\)\)\]/