Improve video grid layout and spacing for better visual appeal
Adjusted CSS classes in `netflix-grid.tsx` to increase gap between videos and update video card widths for various screen sizes. 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/srjpoes
This commit is contained in:
parent
8148df4888
commit
fb6c395d85
@ -247,13 +247,13 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
|||||||
{/* Scrollable video row - true edge to edge */}
|
{/* Scrollable video row - true edge to edge */}
|
||||||
<div
|
<div
|
||||||
ref={scrollRef}
|
ref={scrollRef}
|
||||||
className="flex gap-2 overflow-x-auto scrollbar-hide pb-0 pl-4 pr-16"
|
className="flex gap-3 overflow-x-auto scrollbar-hide pb-0 pl-4 pr-16"
|
||||||
style={{ scrollbarWidth: 'none', msOverflowStyle: 'none' }}
|
style={{ scrollbarWidth: 'none', msOverflowStyle: 'none' }}
|
||||||
>
|
>
|
||||||
{category.videos.map((video, index) => (
|
{category.videos.map((video, index) => (
|
||||||
<div
|
<div
|
||||||
key={video.id}
|
key={video.id}
|
||||||
className="flex-shrink-0 w-[200px] sm:w-[220px] md:w-[240px] lg:w-[260px] xl:w-[280px] relative group hover:z-30"
|
className="flex-shrink-0 w-[200px] sm:w-[240px] md:w-[280px] lg:w-[300px] xl:w-[320px] relative group hover:z-30"
|
||||||
onMouseEnter={() => setClickedVideoId(video.id)}
|
onMouseEnter={() => setClickedVideoId(video.id)}
|
||||||
>
|
>
|
||||||
{/* Top 10 Number overlay for first category */}
|
{/* Top 10 Number overlay for first category */}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user