From 15d247cb0d52d9c091fa040fe1d9d45e9e506050 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 14 Dec 2021 00:30:54 +0100
Subject: chore: define main grid to center content

---
 src/components/Main/Main.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'src/components/Main/Main.tsx')

diff --git a/src/components/Main/Main.tsx b/src/components/Main/Main.tsx
index 3705c83..cc47443 100644
--- a/src/components/Main/Main.tsx
+++ b/src/components/Main/Main.tsx
@@ -1,7 +1,12 @@
 import { FunctionComponent } from 'react';
+import styles from './Main.module.scss';
 
 const Main: FunctionComponent = ({ children }) => {
-  return <main>{children}</main>;
+  return (
+    <main className={styles.wrapper}>
+      <div className={styles.body}>{children}</div>
+    </main>
+  );
 };
 
 export default Main;
-- 
cgit v1.2.3

