From 0d30d9d059568f07ffed9cf4d0948a2aeaa51640 Mon Sep 17 00:00:00 2001 From: "Felix W. Dekker" Date: Sun, 3 May 2020 18:58:08 +0200 Subject: [PATCH] Fix footer overlap --- .gitignore | 4 ---- package-lock.json | Bin 232714 -> 232904 bytes package.json | 2 +- src/main/css/common.css | 8 ++++++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index ee442ed..8fd12ce 100644 --- a/.gitignore +++ b/.gitignore @@ -114,7 +114,3 @@ dist .yarn/unplugged .yarn/build-state.yml .pnp.* - - -## Custom -build/ diff --git a/package-lock.json b/package-lock.json index e028b3b5ee4f3deafe85a0ee9b2e6cda1a344b35..ba42221577e5b1239b3ef1e000a0733f0bce59a3 100644 GIT binary patch delta 135 zcmeC0#dl&h-vkRr%SOwsmW*~f(=Qk^dQU#Elyh>W5#QtjZ?Wlj6PSdiCzvocZ;#Vu zJZlbCustA^(UyIBfhnWU^d4Sj{^`dg7=xo3CpY-vkRri$=?>mW*~flMVI>O+Mf!Jo&&<&h4jl7~3pBBGW&tVie!LAeGUQ zeR9Gc_33}L8F{83kzf>^e4$!zx;-~D+xF^Q#wu2r?&%K2j1@qRX}fRuf7cODm GDhU7?ZYXpB diff --git a/package.json b/package.json index ae25805..6fb79a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fwdekker/template", - "version": "0.0.8", + "version": "0.0.9", "description": "The base template for pages on fwdekker.com.", "author": "Felix W. Dekker (https://fwdekker.com)", "license": "MIT", diff --git a/src/main/css/common.css b/src/main/css/common.css index f2a11bc..f5878ea 100644 --- a/src/main/css/common.css +++ b/src/main/css/common.css @@ -3,14 +3,18 @@ --fwdekker-theme-color-dark: #00279d; } -html, body { +html { height: 100%; } +body { + position: relative; + min-height: 100%; +} + #contents { padding-top: 5rem; padding-bottom: 9rem; /* Vertical footer paddings + 1 */ - min-height: 100%; } .footer {