Adjust layout to improve video grid display and scrolling
Modify the container div in `netflix-grid.tsx` to remove max-width and adjust the scrollable row's padding and max-width for better edge-to-edge 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/7xJ1fA0
This commit is contained in:
parent
3d28babfbe
commit
548098feaa
@ -242,12 +242,12 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
||||
<h2 className="text-lg font-medium text-bunny-light mb-1 mx-2 leading-tight uppercase">
|
||||
{category.title}
|
||||
</h2>
|
||||
<div className="relative overflow-hidden max-w-6xl mx-auto">
|
||||
<div className="relative overflow-hidden">
|
||||
|
||||
{/* Scrollable video row - true edge to edge */}
|
||||
<div
|
||||
ref={scrollRef}
|
||||
className="flex gap-3 overflow-x-auto scrollbar-hide pb-0 px-4"
|
||||
className="flex gap-3 overflow-x-auto scrollbar-hide pb-0 pl-4 pr-4 max-w-5xl mx-auto"
|
||||
style={{ scrollbarWidth: 'none', msOverflowStyle: 'none' }}
|
||||
>
|
||||
{category.videos.map((video, index) => (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user