fix: some 🐛

This commit is contained in:
codytseng
2025-01-03 14:16:18 +08:00
parent 6a73adfd3d
commit 72e1478e43
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ const PrimaryPageLayout = forwardRef(
scrollBarClassName="sm:z-50"
ref={scrollAreaRef}
style={{
paddingBottom: 'calc(env(safe-area-inset-bottom) + 3rem)'
paddingBottom: isSmallScreen ? 'calc(env(safe-area-inset-bottom) + 3rem)' : ''
}}
>
{titlebar && (

View File

@@ -75,7 +75,7 @@ export default function SecondaryPageLayout({
scrollBarClassName="sm:z-50"
ref={scrollAreaRef}
style={{
paddingBottom: 'calc(env(safe-area-inset-bottom) + 3rem)'
paddingBottom: isSmallScreen ? 'env(safe-area-inset-bottom) + 3rem)' : ''
}}
>
<SecondaryPageTitlebar