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 ( -
- description of filling out interest form to start account - registration process -
-+ description of filling out interest form to start account registration + process +