Skip to content

Commit 57382f2

Browse files
committed
style(wrapper): adjust padding for iOS devices to improve layout consistency
1 parent bddae5e commit 57382f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/wrapper.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ interface Props {
88
export function PageWrapper(props: Props) {
99
const ios =
1010
typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent)
11-
const footerPadding = ios ? 'pb-25' : 'pb-4'
11+
const paddingBottom = ios ? 'pb-25 pt-25' : 'pb-4'
1212

1313
return (
14-
<div className={`h-screen overflow-y-auto ${footerPadding}`}>
14+
<div className={`h-screen overflow-y-auto ${paddingBottom}`}>
1515
{/* <userContext.Provider value={userContextValue}> */}
1616
<NavbarLayout />
1717
{props.children}

0 commit comments

Comments
 (0)