fix(mobile): ensure minimum padding at the bottom of the tab bar (#3198)

This commit is contained in:
Whitewater 2025-03-20 14:22:43 +08:00 committed by GitHub
parent f9f7425468
commit f54d05f950
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export const Tabbar: FC<{
accessibilityRole="tablist"
className="absolute inset-x-0 bottom-0 z-10"
style={{
paddingBottom: insets.bottom,
paddingBottom: Math.max(insets.bottom, 8),
transform: [{ translateY }],
}}
onLayout={(e) => {