diff --git a/src/components/PageLayout/Authentication/Authentication.module.scss b/src/components/PageLayout/Authentication/Authentication.module.scss index c7a4c825..3a108549 100644 --- a/src/components/PageLayout/Authentication/Authentication.module.scss +++ b/src/components/PageLayout/Authentication/Authentication.module.scss @@ -1,8 +1,5 @@ .authenticationDisplayButtons { - position: absolute; - left: 0px; - bottom: 0px; - width: 100%; + margin-top: 1rem; text-align: center; color: white; diff --git a/src/components/PageLayout/MenuMain/MenuMain.module.scss b/src/components/PageLayout/MenuMain/MenuMain.module.scss index af220445..d01513f4 100644 --- a/src/components/PageLayout/MenuMain/MenuMain.module.scss +++ b/src/components/PageLayout/MenuMain/MenuMain.module.scss @@ -1,18 +1,3 @@ -.menu { - position: fixed; - width: 25%; - height: 100vh; - top: -100%; - background-color: black; - transition: 750ms; - z-index: 100; - - &.visible { - left: 0; - top: 0; - } -} - .menuButton { cursor: pointer; display: grid; diff --git a/src/components/PageLayout/MenuMain/MenuMain.module.scss.d.ts b/src/components/PageLayout/MenuMain/MenuMain.module.scss.d.ts index e1d46efd..c52cdc4e 100644 --- a/src/components/PageLayout/MenuMain/MenuMain.module.scss.d.ts +++ b/src/components/PageLayout/MenuMain/MenuMain.module.scss.d.ts @@ -1,12 +1,10 @@ export type Styles = { active: string loading: string - menu: string menuButton: string menuCloseButton: string menuItem: string menuOpenButton: string - visible: string } export type ClassNames = keyof Styles diff --git a/src/components/PageLayout/MenuMain/MenuMain.tsx b/src/components/PageLayout/MenuMain/MenuMain.tsx index e5c53e84..c842ee27 100644 --- a/src/components/PageLayout/MenuMain/MenuMain.tsx +++ b/src/components/PageLayout/MenuMain/MenuMain.tsx @@ -1,4 +1,4 @@ -import {Stack, Theme, Typography, useMediaQuery} from '@mui/material' +import {Box, Stack, Theme, Typography, useMediaQuery} from '@mui/material' import {useQuery} from '@tanstack/react-query' import axios from 'axios' import clsx from 'clsx' @@ -45,27 +45,45 @@ export const MenuMain: FC = () => {
)} -