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 = () => (
(
scene
))} @@ -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 (
{/* 左侧标题区域 */} -
+