From 43158924abf1c3918292283d53459ff411e67a81 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Thu, 15 Jan 2026 12:51:00 +0700 Subject: [PATCH] Fix smooth scroll animation and map positioning - Replace v-show with transform: translateY() for smooth header collapse animation - Wrap MainNav + SubNav in fixed container with dynamic transform - Remove sticky positioning from MainNavigation and SubNavigation - Fix map to extend to screen edge (right-0, no rounded corners) - Add dynamic padding-top to main for fixed header compensation --- app/components/navigation/MainNavigation.vue | 2 +- app/components/navigation/SubNavigation.vue | 2 +- app/components/page/CatalogPage.vue | 2 +- app/layouts/topnav.vue | 66 ++++++++++++-------- 4 files changed, 42 insertions(+), 30 deletions(-) diff --git a/app/components/navigation/MainNavigation.vue b/app/components/navigation/MainNavigation.vue index 779ed25..24991a8 100644 --- a/app/components/navigation/MainNavigation.vue +++ b/app/components/navigation/MainNavigation.vue @@ -1,5 +1,5 @@