fix: width reducing with screen size

This commit is contained in:
Ephraim Atta-Duncan
2023-09-18 14:39:42 +00:00
committed by Mythie
parent dabeead57f
commit 9b025f0c9f
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'; import { ForgotPasswordForm } from '~/components/forms/forgot-password';
export default function ForgotPasswordPage() { export default function ForgotPasswordPage() {
// TODO: Fix width reducing with screen size
return ( 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"> <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"> <div className="absolute -inset-96 -z-[1] flex items-center justify-center opacity-50">
<Image <Image
src={backgroundPattern} src={backgroundPattern}

View File

@ -7,7 +7,7 @@ import { ResetPasswordForm } from '~/components/forms/reset-password';
export default function ResetPasswordPage({ params }: { params: { token: string } }) { export default function ResetPasswordPage({ params }: { params: { token: string } }) {
return ( 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"> <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"> <div className="absolute -inset-96 -z-[1] flex items-center justify-center opacity-50">
<Image <Image
src={backgroundPattern} src={backgroundPattern}