mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Merge pull request #433 from R0m1k3/1.1
Adjust sidebar spacing to fix display issue on desktop
This commit is contained in:
2 files changed
+3
-5
No files matched your search
@@ -16,7 +16,7 @@ localPort = 5000
|
||||
externalPort = 80
|
||||
|
||||
[[ports]]
|
||||
localPort = 45105
|
||||
localPort = 45995
|
||||
externalPort = 3000
|
||||
|
||||
[workflows]
|
||||
|
||||
@@ -132,10 +132,8 @@ export default function Layout({ children }: LayoutProps) {
|
||||
<Sidebar />
|
||||
|
||||
<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
|
||||
isMobile ? 'ml-0' :
|
||||
isTablet ? (sidebarCollapsed ? 'ml-16' : 'ml-48') :
|
||||
(sidebarCollapsed ? 'ml-16' : 'ml-64')
|
||||
// Marge gauche uniquement si la sidebar est en position fixed (tablet expanded)
|
||||
isMobile ? 'ml-0' : (isTablet && !sidebarCollapsed) ? 'ml-48' : 'ml-0'
|
||||
}`}>
|
||||
{/* Header with mobile menu and store selector */}
|
||||
<header className={`h-16 bg-white border-b border-gray-200 flex items-center justify-between ${
|
||||
|
||||
Reference in new issue
Block a user