Adjust layout to improve visual spacing between category rows
Modify NetflixGrid component to reduce bottom margin for the first category row, aligning spacing with subsequent rows. 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
8e59e63e81
commit
90d414f6cd
@ -107,7 +107,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
|||||||
<>
|
<>
|
||||||
<div>
|
<div>
|
||||||
{categories.map((category, categoryIndex) => (
|
{categories.map((category, categoryIndex) => (
|
||||||
<div key={categoryIndex} className={`mb-6 ${categoryIndex === 0 ? 'mt-2' : ''} ${categoryIndex === 1 ? 'mb-4' : ''}`}>
|
<div key={categoryIndex} className={`mb-6 ${categoryIndex === 0 ? 'mt-2 mb-4' : ''}`}>
|
||||||
<CategoryRow
|
<CategoryRow
|
||||||
category={category}
|
category={category}
|
||||||
onVideoClick={handleVideoClick}
|
onVideoClick={handleVideoClick}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user