From 6f509c6edb93d03a412eabbc31e805aa4ef20770 Mon Sep 17 00:00:00 2001 From: leosw Date: Tue, 30 Oct 2018 22:58:37 +0100 Subject: [PATCH] min page height is set to screen size --- views/css/d.index.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/views/css/d.index.css b/views/css/d.index.css index 15ea12d..7f95f80 100755 --- a/views/css/d.index.css +++ b/views/css/d.index.css @@ -4,11 +4,16 @@ padding: 0; } +html { + height: 100%; +} + body { font-family: "Fira Sans", "Open Sans",Helvetica,Arial,sans-serif; color: #333; background: #ddd; padding-top: 65px; + height: calc(100% - 65px) } a { @@ -233,7 +238,7 @@ section { background: white; margin: auto; width: 820px; - min-height: 320px; + min-height: calc(100% - 97px); z-index: 10; padding: 15px; text-align: justify;