diff options
author | Eric Bailey <git@esb.lol> | 2024-09-26 11:59:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 01:59:04 +0900 |
commit | 1ae7fa6363259bd99b8c6d0f9c9656785e46309e (patch) | |
tree | ffb158f0aa5c76251330aa9e351fd884bd8ab735 /src/components/hooks/useHeaderOffset.ts | |
parent | 960f4450ee74948c8ca1c47d3282b495a3c80b1d (diff) | |
download | voidsky-1ae7fa6363259bd99b8c6d0f9c9656785e46309e.tar.zst |
Adjust header offset (#5501)
Diffstat (limited to 'src/components/hooks/useHeaderOffset.ts')
-rw-r--r-- | src/components/hooks/useHeaderOffset.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/hooks/useHeaderOffset.ts b/src/components/hooks/useHeaderOffset.ts index e2290c04f..5c80e18fe 100644 --- a/src/components/hooks/useHeaderOffset.ts +++ b/src/components/hooks/useHeaderOffset.ts @@ -9,8 +9,8 @@ export function useHeaderOffset() { return 0 } const navBarHeight = 42 - const tabBarPad = 10 + 10 + 3 // padding + border - const normalLineHeight = 1.2 - const tabBarText = 16 * normalLineHeight * fontScale + const tabBarPad = 10 + 10 + 6 // padding + arbitrary + const normalLineHeight = 20 // matches tab bar + const tabBarText = normalLineHeight * fontScale return navBarHeight + tabBarPad + tabBarText } |