From 172e69949f2c10fe367a2635b30660ba8ba601a5 Mon Sep 17 00:00:00 2001 From: tisachi Date: Fri, 11 Sep 2026 16:26:15 +0200 Subject: [PATCH] Sidebar: hamburger zastepuje logotyp gdy zwiniety (koniec z przesuwaniem w dol na tablet/desktop) --- app/src/components/Layout.tsx | 48 +++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/app/src/components/Layout.tsx b/app/src/components/Layout.tsx index cca1fb9..7c3d061 100644 --- a/app/src/components/Layout.tsx +++ b/app/src/components/Layout.tsx @@ -243,25 +243,35 @@ export default function Layout() { collapsed ? 'md:w-[70px]' : 'md:w-60', )} > -
-
- - {!collapsed && ( - FitOS - )} -
- + {/* zwinięty: hamburger zastępuje logotyp (ta sama pozycja u góry raila) */} +
+ {collapsed ? ( + + ) : ( + <> +
+ + FitOS +
+ + + )}
{collapsed ? footerRail : footerFull}