feat(short-drama-agent-front): 优化分镜界面并新增弹窗手势

This commit is contained in:
GJ committed 2026-11-18 18:50:15 +08:00
1 parent b15a6011ce
commit d68f03471c
59 files changed
+2694 -857

No files matched your search

+5 -1
View File
@@ -58,7 +58,11 @@ describe('管理后台组件边界', () => {
const assetPicker = /\.style-asset-picker\s*\{[^}]*\}/
expect(css.match(assetPicker)?.[0]).toContain('max-height: 280px;')
expect(css.match(assetPicker)?.[0]).toContain('overflow-y: auto;')
expect(css.replace(mobileReading, '').replace(assetPicker, '')).not.toMatch(
/** 图片详情浮层有独立高度上限,不让长错误改变卡片与页面高度。 */
const candidateDetails = /\.keyframe-card-details\s*\{[^}]*\}/
expect(css.match(candidateDetails)?.[0]).toContain('max-height: min(480px, 65dvh);')
expect(css.match(candidateDetails)?.[0]).toContain('overflow-y: auto;')
expect(css.replace(mobileReading, '').replace(assetPicker, '').replace(candidateDetails, '')).not.toMatch(
/overflow(?:-[xy])?\s*:\s*(?:auto|scroll)\b/
)
})