Merge pull request #433 from R0m1k3/1.1

Adjust sidebar spacing to fix display issue on desktop
This commit is contained in:
LogiFlow authored and GitHub committed 2025-09-11 09:45:25 +02:00
commit ab87020bdf
2 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ localPort = 5000
externalPort = 80 externalPort = 80
[[ports]] [[ports]]
localPort = 45105 localPort = 45995
externalPort = 3000 externalPort = 3000
[workflows] [workflows]
+2 -4
View File
@@ -132,10 +132,8 @@ export default function Layout({ children }: LayoutProps) {
<Sidebar /> <Sidebar />
<main className={`flex-1 flex flex-col h-full ${ <main className={`flex-1 flex flex-col h-full ${
// Ajuster la marge gauche selon la taille de l'écran et l'état de la sidebar // Marge gauche uniquement si la sidebar est en position fixed (tablet expanded)
isMobile ? 'ml-0' : isMobile ? 'ml-0' : (isTablet && !sidebarCollapsed) ? 'ml-48' : 'ml-0'
isTablet ? (sidebarCollapsed ? 'ml-16' : 'ml-48') :
(sidebarCollapsed ? 'ml-16' : 'ml-64')
}`}> }`}>
{/* Header with mobile menu and store selector */} {/* Header with mobile menu and store selector */}
<header className={`h-16 bg-white border-b border-gray-200 flex items-center justify-between ${ <header className={`h-16 bg-white border-b border-gray-200 flex items-center justify-between ${