Browse Source

fix: some 🐛

imwald
codytseng 1 year ago
parent
commit
72e1478e43
  1. 2
      src/layouts/PrimaryPageLayout/index.tsx
  2. 2
      src/layouts/SecondaryPageLayout/index.tsx

2
src/layouts/PrimaryPageLayout/index.tsx

@ -89,7 +89,7 @@ const PrimaryPageLayout = forwardRef( @@ -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 && (

2
src/layouts/SecondaryPageLayout/index.tsx

@ -75,7 +75,7 @@ export default function SecondaryPageLayout({ @@ -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

Loading…
Cancel
Save