fix: some 🐛
This commit is contained in:
parent
6a73adfd3d
commit
72e1478e43
2 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ const PrimaryPageLayout = forwardRef(
|
||||||
scrollBarClassName="sm:z-50"
|
scrollBarClassName="sm:z-50"
|
||||||
ref={scrollAreaRef}
|
ref={scrollAreaRef}
|
||||||
style={{
|
style={{
|
||||||
paddingBottom: 'calc(env(safe-area-inset-bottom) + 3rem)'
|
paddingBottom: isSmallScreen ? 'calc(env(safe-area-inset-bottom) + 3rem)' : ''
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{titlebar && (
|
{titlebar && (
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ export default function SecondaryPageLayout({
|
||||||
scrollBarClassName="sm:z-50"
|
scrollBarClassName="sm:z-50"
|
||||||
ref={scrollAreaRef}
|
ref={scrollAreaRef}
|
||||||
style={{
|
style={{
|
||||||
paddingBottom: 'calc(env(safe-area-inset-bottom) + 3rem)'
|
paddingBottom: isSmallScreen ? 'env(safe-area-inset-bottom) + 3rem)' : ''
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<SecondaryPageTitlebar
|
<SecondaryPageTitlebar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue