From add7a91d54d24eb1f02c5a83c36db90834d94add Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 12 Dec 2024 21:57:26 +0000 Subject: Fix web Home header (#7086) * Fix header disappearing on web * Make border nicer --- src/components/hooks/useHeaderOffset.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/hooks/useHeaderOffset.ts') diff --git a/src/components/hooks/useHeaderOffset.ts b/src/components/hooks/useHeaderOffset.ts index 5c80e18fe..c9987df77 100644 --- a/src/components/hooks/useHeaderOffset.ts +++ b/src/components/hooks/useHeaderOffset.ts @@ -8,8 +8,8 @@ export function useHeaderOffset() { if (isDesktop || isTablet) { return 0 } - const navBarHeight = 42 - const tabBarPad = 10 + 10 + 6 // padding + arbitrary + const navBarHeight = 52 + const tabBarPad = 10 + 10 + 3 // padding + border const normalLineHeight = 20 // matches tab bar const tabBarText = normalLineHeight * fontScale return navBarHeight + tabBarPad + tabBarText -- cgit 1.4.1