From 4878068e0ffd259089fb58756df7b4b4b47ca54f Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 1 Sep 2025 15:44:21 +0000 Subject: [PATCH] Adjust layout to better display content on different screens Update `max-width` property in `CategoryRow` and `Home` components from '920px' to '960px' to improve horizontal content display. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8e9f2b36-ec9c-4acc-b19b-5304fa9790c5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/8e9f2b36-ec9c-4acc-b19b-5304fa9790c5/fyyFszO --- client/src/components/netflix-grid.tsx | 2 +- client/src/pages/home.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index e98261e..dbada75 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -249,7 +249,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate ref={scrollRef} className="flex gap-4 overflow-x-auto scrollbar-hide pb-0 pl-4 pr-4" style={{ - maxWidth: '920px', + maxWidth: '960px', margin: '0 auto', scrollbarWidth: 'none', msOverflowStyle: 'none' diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index c8d4384..ce2e2a9 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -77,7 +77,7 @@ export default function Home() {