Improve video card display and layout for better viewing
Adjust video card width and container max-width for improved visual presentation and spacing. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 890577b1-c154-40a4-a177-a0c6d55320c3 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/890577b1-c154-40a4-a177-a0c6d55320c3/iQc0AVS
This commit is contained in:
parent
53458a8372
commit
c1e92f1368
BIN
attached_assets/image_1756756375054.png
Normal file
BIN
attached_assets/image_1756756375054.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 MiB |
@ -119,7 +119,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
||||
<div className="h-6 bg-bunny-gray rounded w-48 animate-pulse"></div>
|
||||
<div className="flex space-x-4 overflow-hidden">
|
||||
{Array.from({ length: 6 }).map((_, index) => (
|
||||
<div key={index} className="flex-shrink-0 w-[220px] animate-pulse">
|
||||
<div key={index} className="flex-shrink-0 w-[180px] animate-pulse">
|
||||
<div className="bg-bunny-gray aspect-[9/16] md:aspect-[16/9] rounded-xl mb-3"></div>
|
||||
<div className="space-y-2">
|
||||
<div className="h-4 bg-bunny-gray rounded w-3/4"></div>
|
||||
@ -278,7 +278,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
||||
{category.videos.map((video, index) => (
|
||||
<div
|
||||
key={video.id}
|
||||
className="flex-shrink-0 w-[220px] relative group hover:z-30"
|
||||
className="flex-shrink-0 w-[180px] relative group hover:z-30"
|
||||
onMouseEnter={() => setClickedVideoId(video.id)}
|
||||
>
|
||||
{/* Top 10 Number overlay for first category */}
|
||||
|
||||
@ -372,7 +372,7 @@ input[data-testid*="search"]::placeholder {
|
||||
|
||||
/* Container for main content layout */
|
||||
.container {
|
||||
max-width: 1200px; /* manjša širina za boljše proporcije */
|
||||
max-width: 1300px; /* malo večja širina za več kartic */
|
||||
margin: 0 auto; /* centriranje */
|
||||
padding: 0 20px; /* malo notranjega roba */
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user