From eabcdb0988c3fdf5f940cb24a3e817bb19d45512 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Thu, 10 Jul 2025 23:45:59 +0200 Subject: fix: preview image scaling --- apps/web/src/components/ui/video-player.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/web/src/components/ui/video-player.tsx') diff --git a/apps/web/src/components/ui/video-player.tsx b/apps/web/src/components/ui/video-player.tsx index d8a72e40..29d82cdf 100644 --- a/apps/web/src/components/ui/video-player.tsx +++ b/apps/web/src/components/ui/video-player.tsx @@ -118,7 +118,7 @@ export function VideoPlayer({ ref={videoRef} src={src} poster={poster} - className={`w-full h-full object-cover ${className}`} + className={`max-w-full max-h-full object-contain ${className}`} playsInline preload="auto" controls={false} -- cgit v1.3.1