From 193381915504b13c0cf3f6f2a50fca16ffac388a Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Tue, 12 Aug 2025 19:52:22 +0000 Subject: [PATCH] Improve layout and visual spacing across the application Adjust main content width, header height, and text sizes for better desktop experience and implement responsive spacing for better visual hierarchy. Replit-Commit-Author: Agent Replit-Commit-Session-Id: cc8ba926-557c-4bf1-a2ea-ceabbcf38824 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc8ba926-557c-4bf1-a2ea-ceabbcf38824/sQ6VYZc --- client/src/components/Layout.tsx | 14 +++++----- client/src/components/Sidebar.tsx | 12 ++++----- client/src/index.css | 31 +++++++++++++++------- client/src/pages/Dashboard.tsx | 8 +++--- client/src/pages/Deliveries.tsx | 42 ++++++++++++++--------------- client/src/pages/Orders.tsx | 44 +++++++++++++++---------------- 6 files changed, 83 insertions(+), 68 deletions(-) diff --git a/client/src/components/Layout.tsx b/client/src/components/Layout.tsx index 99b8f49..d4bb526 100644 --- a/client/src/components/Layout.tsx +++ b/client/src/components/Layout.tsx @@ -91,10 +91,10 @@ export default function Layout({ children }: LayoutProps) { {!isMobile && }
{/* Header with store selector for admin */} -
+
{/* Mobile menu button */} {isMobile && ( @@ -107,7 +107,7 @@ export default function Layout({ children }: LayoutProps) { {mobileMenuOpen ? : } )} -

LogiFlow

+

LogiFlow

{/* Store selector for admin - moved to top right */} @@ -155,7 +155,7 @@ export default function Layout({ children }: LayoutProps) {
{store.name}
@@ -168,9 +168,11 @@ export default function Layout({ children }: LayoutProps) {
{/* Main content area */} -
+
- {children} +
+ {children} +
diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index adf62f7..53ce0f6 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -259,13 +259,13 @@ export default function Sidebar() { } return ( -