From 235b40b32650aa410378c77d1e0e4b0735915f57 Mon Sep 17 00:00:00 2001 From: "Vaka.pro" Date: Mon, 27 Apr 2026 21:44:09 +0300 Subject: [PATCH] fix: move header nav to separate row --- .../frontend/src/components/Layout/Header.tsx | 66 +++++++++---------- apps/frontend/src/styles/global.css | 6 +- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/apps/frontend/src/components/Layout/Header.tsx b/apps/frontend/src/components/Layout/Header.tsx index b5dd2e7..c184097 100644 --- a/apps/frontend/src/components/Layout/Header.tsx +++ b/apps/frontend/src/components/Layout/Header.tsx @@ -58,39 +58,6 @@ export function Header() { - -
+ + ); } diff --git a/apps/frontend/src/styles/global.css b/apps/frontend/src/styles/global.css index 741e3f1..4649663 100644 --- a/apps/frontend/src/styles/global.css +++ b/apps/frontend/src/styles/global.css @@ -40,7 +40,7 @@ @apply mx-auto w-full max-w-6xl px-4 pt-6 sm:px-6 lg:px-8; } .app-header__inner { - @apply grid grid-cols-1 items-center gap-3 rounded-lg border border-border bg-surface/80 px-4 py-3 backdrop-blur lg:grid-cols-[auto_minmax(0,1fr)_auto]; + @apply flex flex-wrap items-center justify-between gap-3 rounded-lg border border-border bg-surface/80 px-4 py-3 backdrop-blur; } .app-header__brand { @apply flex min-w-0 items-center gap-2; @@ -55,7 +55,7 @@ @apply truncate text-xs text-muted; } .app-header__nav { - @apply flex min-w-0 items-center gap-1 overflow-x-auto whitespace-nowrap lg:justify-center; + @apply mt-3 flex min-w-0 items-center gap-1 overflow-x-auto whitespace-nowrap rounded-lg border border-border bg-surface/80 px-4 py-2 backdrop-blur; } .app-header__nav-link { @apply inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium text-ink transition-colors hover:bg-ink/5; @@ -64,7 +64,7 @@ @apply bg-primary text-primary-foreground shadow-card hover:bg-primary; } .app-header__actions { - @apply flex shrink-0 items-center gap-1 justify-self-start whitespace-nowrap lg:justify-self-end; + @apply flex shrink-0 items-center gap-1 whitespace-nowrap; } .app-header__action { @apply shrink-0; -- 2.49.1