Improve text alignment for category titles on the streaming platform
Update the `netflix-grid.tsx` file to modify the class names for category titles, specifically adding `pl-[215px]` and `pr-[215px]` for horizontal padding. 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:
parent
2923af8691
commit
dac6a7e69a
@ -239,7 +239,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
|||||||
className="relative group mb-6"
|
className="relative group mb-6"
|
||||||
onMouseLeave={() => setClickedVideoId(null)}
|
onMouseLeave={() => setClickedVideoId(null)}
|
||||||
>
|
>
|
||||||
<h2 className="text-lg font-medium text-bunny-light mb-1 mx-2 leading-tight uppercase relative z-10 first:mt-8">
|
<h2 className="text-lg font-medium text-bunny-light mb-1 mx-2 leading-tight uppercase pl-[215px] pr-[215px]">
|
||||||
{category.title}
|
{category.title}
|
||||||
</h2>
|
</h2>
|
||||||
<div className="relative overflow-visible pt-[25px] pb-[25px]">
|
<div className="relative overflow-visible pt-[25px] pb-[25px]">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user