From 274eb9070db4d6d193e05e90e60583dd15e61cc1 Mon Sep 17 00:00:00 2001 From: shubhrai23 Date: Wed, 12 Aug 2026 02:42:39 +0530 Subject: [PATCH 1/3] fix: keep footer at bottom of page using flexbox (fixes #96) --- app/static/css/custom.css | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/app/static/css/custom.css b/app/static/css/custom.css index 3017762..b2ba855 100644 --- a/app/static/css/custom.css +++ b/app/static/css/custom.css @@ -1,6 +1,12 @@ +* { + margin: 0; +} + body { + display: flex; + flex-direction: column; + min-height: 100vh; background-color: #f8f8f8; - height: 100%; } #wrapper { @@ -47,20 +53,18 @@ a { padding-bottom: 20px; width: 100%; } + +.container { + flex: 1; +} + .footer { background-color: #DCDCDC; - /* position:fixed; */ - left:0; color: #1e2433; text-align: center; - bottom: 0; width: 100%; padding-top: 12px; height: 85px; line-height: 30px; - margin-top: 50px; -} - -* { - margin: 0; + margin-top: auto; } From d465cdeed13f550a6d5eac2a4130f50e7ec09948 Mon Sep 17 00:00:00 2001 From: shubhrai23 Date: Thu, 13 Aug 2026 01:31:22 +0530 Subject: [PATCH 2/3] fix: scope margin reset to html, body based on review --- app/static/css/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/css/custom.css b/app/static/css/custom.css index b2ba855..e7c23e2 100644 --- a/app/static/css/custom.css +++ b/app/static/css/custom.css @@ -1,4 +1,4 @@ -* { +html, body { margin: 0; } From f8d91a0c7d0e581598b99b78eee9a24e22fc5c33 Mon Sep 17 00:00:00 2001 From: shubhrai23 Date: Sat, 15 Aug 2026 04:41:11 +0530 Subject: [PATCH 3/3] fix: remove redundant margin reset --- app/static/css/custom.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/static/css/custom.css b/app/static/css/custom.css index e7c23e2..aac9272 100644 --- a/app/static/css/custom.css +++ b/app/static/css/custom.css @@ -1,7 +1,3 @@ -html, body { - margin: 0; -} - body { display: flex; flex-direction: column;