diff --git a/apps/web/src/pages/viral-video/ViralVideoPage.css b/apps/web/src/pages/viral-video/ViralVideoPage.css index d6d6b6dc1..3a3a7c2f7 100644 --- a/apps/web/src/pages/viral-video/ViralVideoPage.css +++ b/apps/web/src/pages/viral-video/ViralVideoPage.css @@ -1050,10 +1050,13 @@ flex-direction: column; align-items: center; justify-content: center; + height: 360px; padding: 28px 16px; gap: 10px; background: #fff; border: 1px solid #e5e7eb; + border-radius: 10px; + margin-top: 8px; } .vv-copy-loading .vv-spinner { width: 28px; @@ -1082,18 +1085,38 @@ /* ── Storyboard (linear doc style) ── */ .vv-storyboard { - padding: 6px 2px; - background: transparent; - border: none; + display: flex; + flex-direction: column; + height: 360px; + padding: 10px 12px; + background: #fff; + border: 1px solid #e5e7eb; + border-radius: 10px; + margin-top: 8px; + overflow: hidden; } .vv-sb-doc { + flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; color: #1f2937; font-size: 13px; line-height: 1.55; + overflow-y: auto; + padding-right: 4px; + margin-right: -4px; +} +.vv-sb-doc::-webkit-scrollbar { + width: 6px; +} +.vv-sb-doc::-webkit-scrollbar-thumb { + background: #d8c4ff; + border-radius: 3px; +} +.vv-sb-doc::-webkit-scrollbar-track { + background: transparent; } .vv-sb-h { margin: 6px 0 2px; @@ -1383,12 +1406,14 @@ /* 口播稿 —— 复用 vv-sb-field 样式,无额外需求 */ .vv-sb-actions { + flex-shrink: 0; display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #e5e7eb; + background: #fff; } .vv-sb-actions .vv-btn-ghost { padding: 6px 14px;