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:
parent
57550b196b
commit
71e42cb107
BIN
attached_assets/image_1756742542605.png
Normal file
BIN
attached_assets/image_1756742542605.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 756 KiB |
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user