From c23b88b096a8c0240b48f89b956d7ec07619bd27 Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 7 Dec 2020 13:18:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20improve(ui)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/static/main.css | 9 ++++++--- resource/template/common/footer.html | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/resource/static/main.css b/resource/static/main.css index b523ba4..f323b5d 100644 --- a/resource/static/main.css +++ b/resource/static/main.css @@ -7,12 +7,15 @@ .nb-container { padding-top: 75px; min-height: 80%; + padding-bottom: 75px; } .footer.segment { - margin-top: 40px !important; - padding-top: 40px; - padding-bottom: 40px; + width: 100%; + position: fixed; + bottom: 0; + padding-top: 20px; + padding-bottom: 20px; } .login-form { diff --git a/resource/template/common/footer.html b/resource/template/common/footer.html index a8465ae..45b394a 100644 --- a/resource/template/common/footer.html +++ b/resource/template/common/footer.html @@ -1,7 +1,7 @@ {{define "common/footer"}}