diff --git a/attached_assets/image_1755254795158.png b/attached_assets/image_1755254795158.png new file mode 100644 index 0000000..7954dab Binary files /dev/null and b/attached_assets/image_1755254795158.png differ diff --git a/client/src/components/Layout.tsx b/client/src/components/Layout.tsx index 790e9da..7bb834e 100644 --- a/client/src/components/Layout.tsx +++ b/client/src/components/Layout.tsx @@ -66,7 +66,7 @@ export default function Layout({ children }: LayoutProps) { return ( -
+
{/* Mobile overlay */} {isMobile && mobileMenuOpen && (
-
+
{/* Header with mobile menu and store selector */}
@@ -157,8 +157,10 @@ export default function Layout({ children }: LayoutProps) { )}
-
- {children} +
+
+ {children} +
diff --git a/client/src/index.css b/client/src/index.css index b8620bb..16b206b 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -59,10 +59,16 @@ * { @apply border-border; } - - body { + + html, body { @apply font-sans antialiased bg-surface text-foreground; - overflow-x: hidden; + overflow-x: hidden !important; + max-width: 100vw; + } + + #root { + overflow-x: hidden !important; + max-width: 100vw; } } @@ -109,6 +115,24 @@ display: none; } + /* Solution simple et directe pour masquer l'ascenseur horizontal */ + ::-webkit-scrollbar:horizontal { + display: none !important; + } + + html { + overflow-x: hidden !important; + scrollbar-width: none; + } + + body { + overflow-x: hidden !important; + } + + #root { + overflow-x: hidden !important; + } + .bg-secondary { background-color: var(--secondary); }