From 8f3d1e071f3d0654df41c64a0077e72dbc0eb106 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Fri, 29 Aug 2025 20:09:48 +0000 Subject: [PATCH] Adjust video card sizes and remove extra padding for a cleaner look Updates the width of video cards in the carousel and modifies the VideoCard component by removing padding, gradient background, and title element to achieve a cleaner visual presentation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/kdQ95gE --- client/src/components/simple-carousel.tsx | 2 +- client/src/components/video-card.tsx | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/client/src/components/simple-carousel.tsx b/client/src/components/simple-carousel.tsx index 3a4d8e9..a2fd31e 100644 --- a/client/src/components/simple-carousel.tsx +++ b/client/src/components/simple-carousel.tsx @@ -135,7 +135,7 @@ export default function SimpleCarousel({ category, onVideoClick }: SimpleCarouse {/* Create many copies for infinite feel */} {Array.from({ length: 20 }).map((_, copyIndex) => category.videos.map((video, videoIndex) => ( -
+
{/* Top 10 Number overlay for first category */} {category.title.includes("Top 10") && (
{/* Video preview container */}
onClick?.(video)} onMouseMove={handleMouseMove} > @@ -233,15 +233,6 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP
-
-

onClick?.(video)} - data-testid={`text-title-${video.id}`} - > - {video.title} -

-
);