Fix web Home header (#7086)
* Fix header disappearing on web * Make border nicer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user