full height only

This commit is contained in:
Josh Hawkins 2024-03-13 08:56:45 -05:00
parent 49cf527fcf
commit 1862b85d3e

View File

@ -47,7 +47,7 @@ export default function JSMpegPlayer({
<div className={className} ref={containerRef}>
<div
ref={playerRef}
className="jsmpeg size-full"
className="jsmpeg h-full"
style={{ aspectRatio: width / height }}
/>
</div>