修复 H5MediaViewer 高度问题

This commit is contained in:
北枳 2025-09-23 17:38:28 +08:00
parent 7a3366fb2e
commit acd6e7e931

View File

@ -488,7 +488,7 @@ export function H5MediaViewer({
)}
<style jsx global>{`
[data-alt='carousel-wrapper'] .slick-slide { display: block; }
.slick-list { width: 100%;height: 100%;max-height: calc(100vh - 20rem); }
.slick-list { width: 100%;height: 100% !important;max-height: calc(100vh - 20rem); }
`}</style>
</div>
);