Skip to content

Commit f01fad5

Browse files
committed
Improve message rendering on webview (fix 2)
1 parent 110b727 commit f01fad5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

web/components/optional-profile-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ export const OptionalProfileUserForm = (props: {
606606

607607
<Row className={'justify-end'}>
608608
<Button
609-
className="fixed bottom-[90px] lg:bottom-6 right-4 z-50 text-xl"
609+
className="fixed bottom-[calc(90px+var(--bnh))] lg:bottom-6 right-4 z-50 text-xl"
610610
disabled={isSubmitting}
611611
loading={isSubmitting}
612612
onClick={handleSubmit}

web/components/required-profile-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const RequiredProfileUserForm = (props: {
8787
<Title>The Basics</Title>
8888
{step === 1 && !profileCreatedAlready &&
8989
<div className="text-ink-500 mb-6 text-lg">No endless forms—write your own bio, your own way.</div>}
90-
<Col className={'gap-8'}>
90+
<Col className={'gap-8 pb-[env(safe-area-inset-bottom)]'}>
9191
{step === 0 && <Col>
9292
<label className={clsx(labelClassName)}>Display name</label>
9393
<Row className={'items-center gap-2'}>

0 commit comments

Comments
 (0)