From c8c931b47f3e3dde95f1a0e18a298fc59682ee65 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 1 Sep 2025 17:42:44 +0000 Subject: [PATCH] Improve layout responsiveness by centering content and limiting maximum width Update `index.css` to set `max-width: 1200px` and `margin: 0 auto` for the main content container. Adjust `max-w-6xl` in `home.tsx` to accommodate the new maximum width, ensuring better display on larger screens. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8e9f2b36-ec9c-4acc-b19b-5304fa9790c5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/8e9f2b36-ec9c-4acc-b19b-5304fa9790c5/7gAiKIm --- client/src/index.css | 2 +- client/src/pages/home.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/index.css b/client/src/index.css index c3fef7b..930a8f7 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -65,7 +65,7 @@ background: linear-gradient(135deg, hsl(250, 50%, 15%) 0%, hsl(240, 30%, 25%) 50%, hsl(260, 40%, 20%) 100%); color: hsl(210, 40%, 98%); min-height: 100vh; - max-width: 600px; + max-width: 1200px; margin: 0 auto; /* iOS PWA optimizacije */ -webkit-touch-callout: none; diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index 31c4ff0..1119790 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -77,7 +77,7 @@ export default function Home() {
{/* STICKY HEADER */}
-
+
{/* Left side - Logo */}
@@ -168,7 +168,7 @@ export default function Home() { )}
-
+
{/* Trikotniki na robovih - dvignjeni višje */}