Set content container width and center it for a better layout

Update the main content container's max-width to 1400px and apply `margin: 0 auto` for centering, and replace `max-w-7xl` with the custom `.container` class in the Home page.

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/SHCPaqp
This commit is contained in:
sebastjanartic 2025-09-01 18:03:00 +00:00
parent a84165d47b
commit a72d7cdf4a
2 changed files with 2 additions and 2 deletions

View File

@ -372,7 +372,7 @@ input[data-testid*="search"]::placeholder {
/* Container for main content layout */
.container {
max-width: 1200px; /* največja širina */
max-width: 1400px; /* največja širina */
margin: 0 auto; /* centriranje */
padding: 0 20px; /* malo notranjega roba */
}

View File

@ -77,7 +77,7 @@ export default function Home() {
<div className="has-fixed-header" style={{minHeight: '100vh', background: 'linear-gradient(135deg, hsl(250, 50%, 15%) 0%, hsl(240, 30%, 25%) 100%)', color: 'white'}}>
{/* STICKY HEADER */}
<div className="header-sticky bg-transparent overflow-hidden">
<div className="max-w-7xl mx-auto px-4 py-4">
<div className="container py-4">
<div className="flex items-center justify-between">
{/* Left side - Logo */}
<div className="flex items-center space-x-4">