diff --git a/app/components/navigation/MainNavigation.vue b/app/components/navigation/MainNavigation.vue index a906231..369ea67 100644 --- a/app/components/navigation/MainNavigation.vue +++ b/app/components/navigation/MainNavigation.vue @@ -1,7 +1,7 @@ diff --git a/app/layouts/topnav.vue b/app/layouts/topnav.vue index 0f04bf8..3bf0e22 100644 --- a/app/layouts/topnav.vue +++ b/app/layouts/topnav.vue @@ -60,7 +60,7 @@ const { } = useCatalogSearch() // Collapsible header for catalog pages -const { headerOffset, isCollapsed } = useScrollCollapse(118) +const { headerOffset, isCollapsed } = useScrollCollapse(130) // Theme state const theme = useState<'cupcake' | 'night'>('theme', () => 'cupcake') @@ -131,10 +131,10 @@ const headerStyle = computed(() => { }) // Main content padding-top to compensate for fixed header -// 90px = MainNav with search (2 rows: top 56px + chips 34px) -// 144px = MainNav + SubNav (orders, seller, settings) +// 130px = MainNav with search block (input + chips in one block) +// 184px = MainNav + SubNav (orders, seller, settings) const mainStyle = computed(() => ({ - paddingTop: (isHomePage.value || isCatalogSection.value) ? '90px' : '144px' + paddingTop: (isHomePage.value || isCatalogSection.value) ? '130px' : '184px' })) // Provide collapsed state to child components (CatalogPage needs it for map positioning) diff --git a/app/pages/index.vue b/app/pages/index.vue index 5c1fc43..d4350e0 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -1,38 +1,5 @@