Skip to content

Commit

Permalink
Adjust header offset (#5501)
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored Sep 26, 2024
1 parent 960f445 commit 1ae7fa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/hooks/useHeaderOffset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 1ae7fa6

Please sign in to comment.