fix: some 🐛
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user