diff --git a/client/src/components/Layout.tsx b/client/src/components/Layout.tsx index 7bb834e..d25e48f 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,10 +157,8 @@ export default function Layout({ children }: LayoutProps) { )}
-
-
- {children} -
+
+ {children}
diff --git a/client/src/index.css b/client/src/index.css index 16b206b..62e9f72 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -115,22 +115,20 @@ 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; + /* Solution pour masquer l'ascenseur vertical de droite */ + html, body { + height: 100%; + overflow: hidden !important; } #root { - overflow-x: hidden !important; + height: 100%; + overflow: hidden !important; + } + + .layout-container { + height: 100vh; + overflow: hidden !important; } .bg-secondary { diff --git a/replit.md b/replit.md index b4ff2cc..bfda649 100644 --- a/replit.md +++ b/replit.md @@ -33,6 +33,7 @@ The platform is built with a clear separation of concerns, utilizing a modern fu - **Order and Delivery Management:** Full CRUD operations for orders and deliveries, including linking orders to deliveries and managing their statuses. - **Reconciliation:** Functionality for reconciling Bills of Lading (BL) and invoices with immediate UI updates. - **Invoice Verification Cache:** Robust caching system for invoice verification results with automatic expiration and conflict resolution. Enhanced with unique constraint handling and graceful error management for production stability (August 2025). +- **UI Scrollbar Optimization:** Eliminated redundant vertical scrollbar on the right side of the screen while preserving necessary internal page scrolling. Implemented global CSS rules with `overflow: hidden` on html/body/root and Layout height management to prevent vertical overflow issues in production (August 2025). - **User and Permission Management:** Granular access controls ensuring that users (e.g., employees) have appropriate permissions for tasks like creating customer orders. - **Reporting:** Statistical reporting, including monthly summaries of deliveries based on `deliveredDate`.