Adjust spacing for video categories to improve layout consistency
Update `client/src/components/netflix-grid.tsx` to modify margin-top for the first category to `mt-2 mb-2`. 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/DVZN4Rp
This commit is contained in:
parent
fbaec69744
commit
5364933fa7
@ -107,7 +107,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
||||
<>
|
||||
<div>
|
||||
{categories.map((category, categoryIndex) => (
|
||||
<div key={categoryIndex} className={`${categoryIndex === 0 ? 'mt-2 mb-4' : 'mb-2'}`}>
|
||||
<div key={categoryIndex} className={`${categoryIndex === 0 ? 'mt-2 mb-2' : 'mb-2'}`}>
|
||||
<CategoryRow
|
||||
category={category}
|
||||
onVideoClick={handleVideoClick}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user