From 447babc38658498784a39b6cdded59ae7433725a Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Mon, 29 Jul 2024 13:02:47 +0200 Subject: [PATCH] :sparkles: Adding footer --- .../Components/DesignSystem/Footer/index.tsx | 5 +++- .../classes.module.scss | 23 +++++++++++-------- .../DefaultDashboardWithList/index.tsx | 16 ++++++++----- 3 files changed, 27 insertions(+), 17 deletions(-) diff --git a/src/front/Components/DesignSystem/Footer/index.tsx b/src/front/Components/DesignSystem/Footer/index.tsx index 8867ec7f..9a23212f 100644 --- a/src/front/Components/DesignSystem/Footer/index.tsx +++ b/src/front/Components/DesignSystem/Footer/index.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import React, { useEffect } from "react"; import classes from "./classes.module.scss"; import Mobile from "./mobile"; import Desktop from "./desktop"; @@ -9,6 +9,9 @@ type IProps = { }; export default function Footer({ className }: IProps) { + useEffect(() => { + document.documentElement.style.setProperty("--footer-height", `43px`); + }); return (