From 823006bbaf9546f02e494509a3b49981571060cf Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 1 Sep 2025 19:04:16 +0000 Subject: [PATCH] Adjust video display proportions for better visual appeal Update video card width in NetflixGrid and adjust container max-width in index.css to improve layout proportions. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 890577b1-c154-40a4-a177-a0c6d55320c3 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/890577b1-c154-40a4-a177-a0c6d55320c3/iQc0AVS --- client/src/components/netflix-grid.tsx | 6 +++--- client/src/index.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index f229f91..b09bc21 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -119,7 +119,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
{Array.from({ length: 6 }).map((_, index) => ( -
+
@@ -272,13 +272,13 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate {/* Scrollable video row - true edge to edge */}
{category.videos.map((video, index) => (
setClickedVideoId(video.id)} > {/* Top 10 Number overlay for first category */} diff --git a/client/src/index.css b/client/src/index.css index 41c7660..66f5500 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -372,7 +372,7 @@ input[data-testid*="search"]::placeholder { /* Container for main content layout */ .container { - max-width: 1400px; /* največja širina */ + max-width: 1200px; /* manjša širina za boljše proporcije */ margin: 0 auto; /* centriranje */ padding: 0 20px; /* malo notranjega roba */ }