Improve grid layout by adding spacing between video categories
Update the NetflixGrid component to include bottom margin for category rows in client/src/components/netflix-grid.tsx. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/iazasnP
This commit is contained in:
parent
1c79a7b57d
commit
3ab93a0cb3
@ -105,7 +105,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="space-y-1">
|
||||
<div>
|
||||
{categories.map((category, categoryIndex) => (
|
||||
<CategoryRow
|
||||
key={categoryIndex}
|
||||
@ -187,7 +187,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
|
||||
|
||||
return (
|
||||
<div
|
||||
className="relative group"
|
||||
className="relative group mb-4"
|
||||
onMouseLeave={() => setClickedVideoId(null)}
|
||||
>
|
||||
<h2 className="text-2xl font-bold text-bunny-light mb-0 px-4">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user