fix: width reducing with screen size

This commit is contained in:
Ephraim Atta-Duncan
2023-09-18 14:39:42 +00:00
parent 166cbc150f
commit 2327b15e0d
2 changed files with 2 additions and 3 deletions

View File

@ -5,10 +5,9 @@ import backgroundPattern from '~/assets/background-pattern.png';
import { ForgotPasswordForm } from '~/components/forms/forgot-password';
export default function ForgotPasswordPage() {
// TODO: Fix width reducing with screen size
return (
<main className="bg-sand-100 relative flex min-h-screen flex-col items-center justify-center overflow-hidden px-4 py-12 md:p-12 lg:p-24">
<div className="relative flex w-1/5 items-center gap-x-24">
<div className="relative flex items-center gap-x-24 md:w-[500px]">
<div className="absolute -inset-96 -z-[1] flex items-center justify-center opacity-50">
<Image
src={backgroundPattern}

View File

@ -7,7 +7,7 @@ import { ResetPasswordForm } from '~/components/forms/reset-password';
export default function ResetPasswordPage({ params }: { params: { token: string } }) {
return (
<main className="bg-sand-100 relative flex min-h-screen flex-col items-center justify-center overflow-hidden px-4 py-12 md:p-12 lg:p-24">
<div className="relative flex w-1/5 items-center gap-x-24">
<div className="relative flex items-center gap-x-24 md:w-[500px]">
<div className="absolute -inset-96 -z-[1] flex items-center justify-center opacity-50">
<Image
src={backgroundPattern}