Update video player aspect ratio for mobile devices to 16:9
Adjust the aspect ratio of the video card component in client/src/components/video-card.tsx to 16:9 on mobile devices. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/7j5FE92
This commit is contained in:
parent
8d5dd20cf3
commit
d550ccb428
@ -82,7 +82,7 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP
|
||||
>
|
||||
{/* Video preview container */}
|
||||
<div
|
||||
className="relative gradient-card rounded-xl overflow-hidden mb-4 aspect-[9/16] md:aspect-[16/9] cursor-pointer group"
|
||||
className="relative gradient-card rounded-xl overflow-hidden mb-4 aspect-[16/9] cursor-pointer group"
|
||||
onClick={() => onClick?.(video)}
|
||||
>
|
||||
{/* Static thumbnail - always visible */}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user