From ef428058c1960263e12e0a2c90059177629aa1bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?=
<7854742+wang_rumeng@user.noreply.gitee.com>
Date: Thu, 25 Sep 2025 17:17:42 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96H5=E9=80=82=E9=85=8D=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/layout/top-bar.tsx | 2 +-
components/pages/work-flow/H5MediaViewer.tsx | 12 ++++++------
components/pages/work-flow/H5TaskInfo.tsx | 4 ++--
components/ui/script-modal.tsx | 2 +-
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/components/layout/top-bar.tsx b/components/layout/top-bar.tsx
index 365fab3..7b95a2d 100644
--- a/components/layout/top-bar.tsx
+++ b/components/layout/top-bar.tsx
@@ -255,7 +255,7 @@ export function TopBar({ collapsed, isDesktop=true }: { collapsed: boolean, isDe
return (
(
(videoRefs.current[idx] = el)}
className="w-full h-full object-contain [transform:translateZ(0)] [backface-visibility:hidden] [will-change:transform] bg-black"
style={{
- maxHeight: 'calc(100vh - 20rem)',
+ maxHeight: 'calc(100vh - 16rem)',
}}
src={url}
preload="metadata"
@@ -225,7 +225,7 @@ export function H5MediaViewer({
>
) : (
{status === 0 && (
Generating...
@@ -251,7 +251,7 @@ export function H5MediaViewer({
// 渲染图片 slide
const renderImageSlides = () => (
(
))}
@@ -494,7 +494,7 @@ export function H5MediaViewer({
[data-alt='carousel-wrapper'] .slick-slide { display: flex !important;justify-content: center; }
.slick-slider { height: 100% !important;display: flex !important; }
.ant-carousel { height: 100% !important; }
- .slick-list { width: 100%;height: 100% !important;max-height: calc(100vh - 20rem); }
+ .slick-list { width: 100%;height: 100% !important;max-height: calc(100vh - 16rem); }
.slick-track { display: flex !important; align-items: center;height: 100% !important; }
`}
diff --git a/components/pages/work-flow/H5TaskInfo.tsx b/components/pages/work-flow/H5TaskInfo.tsx
index e8be32a..5cda52b 100644
--- a/components/pages/work-flow/H5TaskInfo.tsx
+++ b/components/pages/work-flow/H5TaskInfo.tsx
@@ -125,14 +125,14 @@ const H5TaskInfo: React.FC
= ({
return (