Improve spacing and layout for video categories on the homepage

Update `netflix-grid.tsx` to adjust margin-top for category titles, and modify `home.tsx` to set the top padding of the main content area to zero.

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:15:35 +00:00
parent a146e9284d
commit e9214a398c
2 changed files with 2 additions and 2 deletions

View File

@ -239,7 +239,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
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">
<h2 className="text-lg font-medium text-bunny-light mb-1 mx-2 leading-tight uppercase relative z-10 first:mt-8">
{category.title}
</h2>
<div className="relative overflow-visible py-6">

View File

@ -168,7 +168,7 @@ export default function Home() {
)}
</div>
<main className="w-full pt-8 pb-8 relative">
<main className="w-full pt-0 pb-8 relative">
{/* Trikotniki na robovih - ne prekrivajo video kartic */}
<div className="absolute top-10 right-2 w-0 h-0 border-l-[70px] border-l-transparent border-r-[70px] border-r-transparent border-b-[100px] border-b-blue-400/8 rotate-12 z-0"></div>