From 9c4f189006ef7891f4e5c0771402df0e85cccc58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= Date: Fri, 29 Nov 2024 14:57:01 +0100 Subject: [PATCH] Fix margin on mobile --- src/App.jsx | 41 ++++++++++++++++++++++------------------- src/components/Menu.tsx | 2 +- src/other.css | 8 ++++++++ 3 files changed, 31 insertions(+), 20 deletions(-) create mode 100644 src/other.css diff --git a/src/App.jsx b/src/App.jsx index 722912b..45297d1 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react'; import { FaSun, FaMoon} from "react-icons/fa"; import ReactDOM from "react-dom"; import './output.css'; +import './other.css'; import Card from "./components/Card.tsx"; import About from "./components/About.tsx"; import Skills from "./components/Skills.tsx"; @@ -40,26 +41,28 @@ function App() { return (
- -
- +
+ +
+ +
+
+
+ + +
+ +
+ +
+
+ +
-
-
- - -
- -
- -
-
- -
); } diff --git a/src/components/Menu.tsx b/src/components/Menu.tsx index 30c8005..ac9aaf2 100644 --- a/src/components/Menu.tsx +++ b/src/components/Menu.tsx @@ -5,7 +5,7 @@ import {useTranslation} from "react-i18next"; function Menu() { const { t } = useTranslation(); return ( -