fix: 5 个响应式/z-index 问题 (#1316) #1326

Merged
auto-approve-bot merged 1 commits from fix/responsive-zindex-issues into develop 2026-08-10 00:11:06 +08:00
Owner

修复内容

1. z-index 硬编码修复

  • voice-clone.csstemplates.cssvoices.css 中自定义 overlay 的 z-index: 1000 替换为 z-index: var(--z-modal)
  • 统一使用 CSS 变量,避免层级冲突

2. ResultDrawer 移动端溢出

  • assets/components/ResultDrawer.tsx:固定宽度 420px 在窄屏溢出,添加 maxWidth: 100vw 约束

3. EditingPlanner 高度冲突

  • EditingPlanner.css .ep-v8-rootheight: 100vh 与主布局冲突,改为 height: calc(100vh - 68px)

4. templates-grid 响应式

  • templates.css .xx-templates-grid:固定 4 列无响应式,调整断点为 1400px→3列、1024px→2列

5. EditingPlanner Drawers 窄屏溢出

  • 7 个 Drawer 面板(FilterPanel/GreenScreenPanel/IntroOutroPanel/SpeedPanel/SubtitleStylePanel/TransitionSelector/WatermarkPanel)添加 maxWidth: 100vw 约束,防止窄屏溢出
## 修复内容 ### 1. z-index 硬编码修复 - `voice-clone.css`、`templates.css`、`voices.css` 中自定义 overlay 的 `z-index: 1000` 替换为 `z-index: var(--z-modal)` - 统一使用 CSS 变量,避免层级冲突 ### 2. ResultDrawer 移动端溢出 - `assets/components/ResultDrawer.tsx`:固定宽度 420px 在窄屏溢出,添加 `maxWidth: 100vw` 约束 ### 3. EditingPlanner 高度冲突 - `EditingPlanner.css` `.ep-v8-root`:`height: 100vh` 与主布局冲突,改为 `height: calc(100vh - 68px)` ### 4. templates-grid 响应式 - `templates.css` `.xx-templates-grid`:固定 4 列无响应式,调整断点为 1400px→3列、1024px→2列 ### 5. EditingPlanner Drawers 窄屏溢出 - 7 个 Drawer 面板(FilterPanel/GreenScreenPanel/IntroOutroPanel/SpeedPanel/SubtitleStylePanel/TransitionSelector/WatermarkPanel)添加 `maxWidth: 100vw` 约束,防止窄屏溢出
xiaoxia added the frontendP1 labels 2026-08-10 00:03:18 +08:00
xiaoxia added 1 commit 2026-08-10 00:03:18 +08:00
fix: 5 个响应式/z-index 问题 (#1316)
CI/CD Pipeline / Build Staging API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / ACR Image Cleanup (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 24s
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / PR Build API Image (pull_request) Has been skipped
CI/CD Pipeline / PR Build Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 53s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 1m8s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 47s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m10s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 1m39s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m40s
AI Code Review / AI Code Review (pull_request) Successful in 1m42s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 2m4s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 2m2s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 4m37s
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Build Production API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Canary Release to Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / CI Gate (pull_request) Successful in 6s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 44s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 56s
4df6d04547
1. z-index 硬编码 1000 → var(--z-modal)(voice-clone/templates/voices.css)
2. ResultDrawer 移动端溢出 → 加 maxWidth: 100vw
3. EditingPlanner height:100vh → calc(100vh - 68px)
4. templates-grid 响应式断点:1400px→3列、1024px→2列
5. EditingPlanner Drawers 窄屏溢出 → 7 个面板加 maxWidth 约束
auto-approve-bot approved these changes 2026-08-10 00:04:56 +08:00
auto-approve-bot left a comment
Collaborator

CI全绿,自动审批通过。

CI全绿,自动审批通过。
auto-approve-bot approved these changes 2026-08-10 00:04:56 +08:00
auto-approve-bot left a comment
Collaborator

CI全绿,自动审批通过。

CI全绿,自动审批通过。

🚀 预览环境已部署

项目 详情
PR号 #1326
预览链接 https://pr-1326.preview.xiaoxiajianji.com
API环境 staging

💡 预览环境使用 staging API 数据,请勿在预览环境中操作重要数据。

🔄 每次提交新代码后预览环境会自动更新。

🗑️ PR 关闭或合并后,预览环境会自动清理。

🚀 **预览环境已部署** | 项目 | 详情 | |------|------| | PR号 | #1326 | | 预览链接 | [https://pr-1326.preview.xiaoxiajianji.com](https://pr-1326.preview.xiaoxiajianji.com) | | API环境 | staging | > 💡 预览环境使用 staging API 数据,请勿在预览环境中操作重要数据。 > > 🔄 每次提交新代码后预览环境会自动更新。 > > 🗑️ PR 关闭或合并后,预览环境会自动清理。
Collaborator

代码审查结果 - PR #1326

⚠️ 问题(0个需要修改)

💡 建议(0个可选)


格式检查通过 | 逻辑审查通过 | 性能无关注


🤖 由 AI 代码审查机器人自动生成 | 2026-08-09 16:04:59 | 模型:

## 代码审查结果 - PR #1326 ### ⚠️ 问题(0个需要修改) 无 ### 💡 建议(0个可选) 无 --- ✅ 格式检查通过 | ✅ 逻辑审查通过 | ✅ 性能无关注 --- <sub>🤖 由 AI 代码审查机器人自动生成 | 2026-08-09 16:04:59 | 模型: </sub> <!-- AI_CODE_REVIEW_AUTO_COMMENT -->
Author
Owner

CI 全绿,已 squash merge 到 develop(a408ca66

✅ CI 全绿,已 squash merge 到 develop(`a408ca66`)
auto-approve-bot merged commit 772ea958c2 into develop 2026-08-10 00:11:06 +08:00
auto-approve-bot deleted branch fix/responsive-zindex-issues 2026-08-10 00:11:07 +08:00

🗑️ 预览环境已清理

PR #1326 已关闭或合并,对应的预览环境已被清理。

如有需要,可以重新打开 PR 来重新生成预览环境。

🗑️ **预览环境已清理** PR #1326 已关闭或合并,对应的预览环境已被清理。 > 如有需要,可以重新打开 PR 来重新生成预览环境。
Sign in to join this conversation.