Make video grid sections extend fully to the screen edges
Adjust padding and margins in the Netflix grid component and home page layout to ensure video sections display edge-to-edge. 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
a763f63922
commit
1a996d1009
@ -191,7 +191,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
|
|||||||
className="relative group"
|
className="relative group"
|
||||||
onMouseLeave={() => setClickedVideoId(null)}
|
onMouseLeave={() => setClickedVideoId(null)}
|
||||||
>
|
>
|
||||||
<h2 className="text-lg font-medium text-bunny-light mb-0 px-4 leading-tight">
|
<h2 className="text-lg font-medium text-bunny-light mb-0 px-1 leading-tight">
|
||||||
{category.title}
|
{category.title}
|
||||||
</h2>
|
</h2>
|
||||||
<div className="relative overflow-hidden">
|
<div className="relative overflow-hidden">
|
||||||
@ -220,7 +220,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
|
|||||||
{/* Scrollable video row - true edge to edge */}
|
{/* Scrollable video row - true edge to edge */}
|
||||||
<div
|
<div
|
||||||
ref={scrollRef}
|
ref={scrollRef}
|
||||||
className="flex gap-1 overflow-x-auto scrollbar-hide pb-0"
|
className="flex gap-1 overflow-x-auto scrollbar-hide pb-0 -mx-1"
|
||||||
style={{ scrollbarWidth: 'none', msOverflowStyle: 'none' }}
|
style={{ scrollbarWidth: 'none', msOverflowStyle: 'none' }}
|
||||||
>
|
>
|
||||||
{category.videos.map((video, index) => (
|
{category.videos.map((video, index) => (
|
||||||
|
|||||||
@ -78,7 +78,7 @@ export default function Home() {
|
|||||||
currentView={viewMode}
|
currentView={viewMode}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-0 pb-8 relative">
|
<main className="w-full pt-0 pb-8 relative">
|
||||||
|
|
||||||
|
|
||||||
{/* Trikotniki na robovih - ne prekrivajo video kartic */}
|
{/* Trikotniki na robovih - ne prekrivajo video kartic */}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user