From 143d0839d3796900043130073558dab0f7630967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pomucz=20Tam=C3=A1s?= <pomucz@sch.bme.hu> Date: Tue, 20 Feb 2024 23:17:33 +0100 Subject: [PATCH] fix footer better --- src/components/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/App.js b/src/components/App.js index 5a8552e..f1f8985 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -4,7 +4,7 @@ import Main from './Main'; import React from 'react'; const App = () => ( - <div style={{ minHeight: '100%', position: 'relative' }}> + <div style={{ minHeight: '100%', position: 'relative', paddingBottom: '3em' }}> <header id="header"> <Header /> </header> @@ -13,7 +13,7 @@ const App = () => ( </main> <footer id="footer" - style={{ width: '100%', bottom: '0' }} + style={{ position: 'absolute', width: '100%', bottom: '0' }} > <Footer /> </footer> -- GitLab