Tablet tweak
This commit is contained in:
@@ -53,7 +53,8 @@ export function LoadLatestBtn({
|
|||||||
const isMobileWeb = IS_WEB && !gtMobile
|
const isMobileWeb = IS_WEB && !gtMobile
|
||||||
const bottomInset = gtMobile ? a.pb_lg.paddingBottom : a.pb_md.paddingBottom
|
const bottomInset = gtMobile ? a.pb_lg.paddingBottom : a.pb_md.paddingBottom
|
||||||
const bottomGutter = isMobileWeb ? a.pb_lg.paddingBottom : bottomInset
|
const bottomGutter = isMobileWeb ? a.pb_lg.paddingBottom : bottomInset
|
||||||
const shouldAccountForBottomBar = !gtMobile || (isTablet && showBottomBar)
|
const shouldAccountForBottomBar =
|
||||||
|
IS_NATIVE || !gtMobile || (isTablet && showBottomBar)
|
||||||
const bottomPosition = {
|
const bottomPosition = {
|
||||||
bottom: shouldAccountForBottomBar
|
bottom: shouldAccountForBottomBar
|
||||||
? clamp(insets.bottom, bottomInset, 60) + bottomGutter
|
? clamp(insets.bottom, bottomInset, 60) + bottomGutter
|
||||||
|
|||||||
Reference in New Issue
Block a user