diff --git a/frontend/src/App.styles.ts b/frontend/src/App.styles.ts index ca62ecc..cb2a7bf 100644 --- a/frontend/src/App.styles.ts +++ b/frontend/src/App.styles.ts @@ -3,10 +3,19 @@ import styled from '@emotion/styled'; /** * @summary This is the root styling for the application. */ -const StyledApp = styled.div` +export const StyledApp = styled.div` display: flex; flex-direction: column; min-height: 100vh; `; -export default StyledApp; +export const ViewContainer = styled.div` + position: absolute; + top: 0; + left: 0; + display: flex; + height: 100svh; + justify-content: center; + width: 100%; + align-items: center; +`; diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 446ddf6..b462898 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,4 +1,4 @@ -import StyledApp from './App.styles'; +import { StyledApp, ViewContainer } from './App.styles'; import { Header, Footer } from './components/common'; import ViewRouter from './routes/ViewRouter'; @@ -9,7 +9,9 @@ function App() { return (
- + + +