diff --git a/client/src/pages/auth/form.module.css b/client/src/pages/auth/form.module.css index ff581571..8a640b0e 100644 --- a/client/src/pages/auth/form.module.css +++ b/client/src/pages/auth/form.module.css @@ -1,6 +1,5 @@ .header { text-align: center; - margin: 2rem 0; } .header > p { @@ -19,9 +18,3 @@ color: #2b8a3e; font-size: small; } - -@media (min-width: 48em) { - .header { - margin: 8.75rem 0 2rem 0; - } -} diff --git a/client/src/pages/auth/login/login.jsx b/client/src/pages/auth/login/login.jsx index 7d547264..fa4a04ac 100644 --- a/client/src/pages/auth/login/login.jsx +++ b/client/src/pages/auth/login/login.jsx @@ -5,7 +5,7 @@ import { StatusCodes } from 'http-status-codes'; import { useAuthorization } from '../../../hooks/useAuthorization'; import { LoginForm } from './LoginForm'; -import classes from './login.module.css'; +import classes from '../form.module.css'; /** * Login page component. diff --git a/client/src/pages/auth/login/login.module.css b/client/src/pages/auth/login/login.module.css index 4a6c79f0..64c9746d 100644 --- a/client/src/pages/auth/login/login.module.css +++ b/client/src/pages/auth/login/login.module.css @@ -1,8 +1,3 @@ -.header { - text-align: center; - margin: 2rem 0; -} - .email { margin-bottom: 1.5rem; } @@ -17,12 +12,6 @@ padding-top: 0.5rem; } -@media (min-width: 48em) { - .header { - margin: 8.75rem 0 2rem 0; - } -} - .loginBtn { margin-top: 1.5rem; } diff --git a/client/src/pages/auth/register/register.jsx b/client/src/pages/auth/register/register.jsx index 4c661ccd..c229de10 100644 --- a/client/src/pages/auth/register/register.jsx +++ b/client/src/pages/auth/register/register.jsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import classes from './register.module.css'; +import classes from '../form.module.css'; import { RegisterForm } from './RegisterForm'; import { Flex } from '@mantine/core'; import { useParams } from 'react-router-dom'; @@ -158,34 +158,31 @@ function Register() { } return ( -
-
Image goes here
-
-
-

Interest Form

-

- description of filling out interest form to start account - registration process -

-
- - { - setShowLicenseHelper(!showLicenseHelper); - }} - formState={formState} - showLicenseField={ - !inviteId || (inviteId && user.role == 'FIRST_RESPONDER') - } - /> - +
+
+

Interest Form

+

+ description of filling out interest form to start account registration + process +

+ + { + setShowLicenseHelper(!showLicenseHelper); + }} + formState={formState} + showLicenseField={ + !inviteId || (inviteId && user.role == 'FIRST_RESPONDER') + } + /> +
); } diff --git a/client/src/stories/AuthLayout/AuthLayout.jsx b/client/src/stories/AuthLayout/AuthLayout.jsx index d6bf5d48..156cbc82 100644 --- a/client/src/stories/AuthLayout/AuthLayout.jsx +++ b/client/src/stories/AuthLayout/AuthLayout.jsx @@ -9,7 +9,9 @@ export default function AuthLayout() { return (
testing
- +
+ +
); } diff --git a/client/src/stories/AuthLayout/authlayout.css b/client/src/stories/AuthLayout/authlayout.css index c8e7ecc1..a892f4b8 100644 --- a/client/src/stories/AuthLayout/authlayout.css +++ b/client/src/stories/AuthLayout/authlayout.css @@ -1,17 +1,21 @@ .auth-layout { width: 100vw; - height: 100vh; - height: 100dvh; + min-height: 100vh; + min-height: 100dvh; } .banner { display: none; } +.form { + padding: 2rem 1rem; +} + @media (min-width: 48em) { .auth-layout { display: flex; - height: 100vh; + min-height: 100vh; & > * { flex: 1; @@ -21,7 +25,12 @@ .banner { display: block; width: 100%; - height: 100%; + min-height: 100%; background-color: aqua; + background-size: cover; + } + + .form { + padding: 4rem 1rem; } }