Adjust spacing and padding for video rows on the homepage

Modify CSS classes in `client/src/components/netflix-grid.tsx` to reduce bottom margin of category rows and adjust padding for the scrollable video 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/fyyFszO
This commit is contained in:
sebastjanartic 2025-09-01 16:03:06 +00:00
parent 57550b196b
commit 71e42cb107
2 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 KiB

View File

@ -236,18 +236,18 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
return (
<div
className="relative group mb-12"
className="relative group mb-6"
onMouseLeave={() => setClickedVideoId(null)}
>
<h2 className="text-lg font-medium text-bunny-light mb-1 mx-2 leading-tight uppercase relative z-10">
{category.title}
</h2>
<div className="relative overflow-visible py-8">
<div className="relative overflow-visible py-2">
{/* Scrollable video row - true edge to edge */}
<div
ref={scrollRef}
className="flex gap-4 overflow-x-auto scrollbar-hide pb-8 pl-4 pr-4"
className="flex gap-4 overflow-x-auto scrollbar-hide pb-2 pl-4 pr-4"
style={{
maxWidth: '960px',
margin: '0 auto',