From 04428207891ebdcd125bf9d265f7e3f84b7a485f Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 14:34:36 +0000 Subject: [PATCH] Adjust video card layout and remove duration display Modify the `VideoCard` component to adjust the positioning of the title overlay and remove the duration badge. 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/DVZN4Rp --- client/src/components/video-card.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/src/components/video-card.tsx b/client/src/components/video-card.tsx index 5b54515..2e82bb3 100644 --- a/client/src/components/video-card.tsx +++ b/client/src/components/video-card.tsx @@ -207,7 +207,7 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP {/* Title overlay - only show when not playing preview */} {!showPreview && ( -
+
{video.title}
{formatViews(video.views)} @@ -217,10 +217,6 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP
)} - {/* Duration badge */} -
- {formatDuration(video.duration)} -