Skip to content

Commit

Permalink
fixed minimum width on mobile (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmay-pathak authored Nov 20, 2023
1 parent 746e6a1 commit 743780c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/routes/_auth+/forgot-password.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function ForgotPasswordRoute() {
No worries, we'll send you reset instructions.
</p>
</div>
<div className="mx-auto mt-16 min-w-[368px] max-w-sm">
<div className="mx-auto mt-16 min-w-full sm:min-w-[368px] max-w-sm">
<forgotPassword.Form method="POST" {...form.props}>
<AuthenticityTokenInput />
<HoneypotInputs />
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_auth+/onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export default function SignupRoute() {
<Spacer size="xs" />
<Form
method="POST"
className="mx-auto min-w-[368px] max-w-sm"
className="mx-auto min-w-full sm:min-w-[368px] max-w-sm"
{...form.props}
>
<AuthenticityTokenInput />
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_auth+/onboarding_.$provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default function SignupRoute() {
<Spacer size="xs" />
<Form
method="POST"
className="mx-auto min-w-[368px] max-w-sm"
className="mx-auto min-w-full sm:min-w-[368px] max-w-sm"
{...form.props}
>
{fields.imageUrl.defaultValue ? (
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_auth+/reset-password.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function ResetPasswordPage() {
Hi, {data.resetPasswordUsername}. No worries. It happens all the time.
</p>
</div>
<div className="mx-auto mt-16 min-w-[368px] max-w-sm">
<div className="mx-auto mt-16 min-w-full sm:min-w-[368px] max-w-sm">
<Form method="POST" {...form.props}>
<Field
labelProps={{
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_auth+/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function SignupRoute() {
Please enter your email.
</p>
</div>
<div className="mx-auto mt-16 min-w-[368px] max-w-sm">
<div className="mx-auto mt-16 min-w-full sm:min-w-[368px] max-w-sm">
<Form method="POST" {...form.props}>
<AuthenticityTokenInput />
<HoneypotInputs />
Expand Down

0 comments on commit 743780c

Please sign in to comment.