Improve video grid layout with adjusted maximum width and red background

Adjusted `netflix-grid.tsx` to set `maxWidth` to '800px' and added a semi-transparent red background to the scrollable container.

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/7xJ1fA0
This commit is contained in:
sebastjanartic 2025-09-01 15:07:53 +00:00
parent 31ea54c1d5
commit 39f8c6c927

View File

@ -248,7 +248,13 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
<div
ref={scrollRef}
className="flex gap-3 overflow-x-auto scrollbar-hide pb-0 pl-4 pr-4"
style={{ maxWidth: '1200px', margin: '0 auto', scrollbarWidth: 'none', msOverflowStyle: 'none' }}
style={{
maxWidth: '800px',
margin: '0 auto',
scrollbarWidth: 'none',
msOverflowStyle: 'none',
backgroundColor: 'rgba(255, 0, 0, 0.1)'
}}
>
{category.videos.map((video, index) => (
<div