aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorboasting-squirrel <boasting.squirrel@gmail.com>2019-04-07 12:00:22 +0000
committerboasting-squirrel <boasting.squirrel@gmail.com>2019-04-07 12:00:31 +0000
commit2c4d35560d794af286a4cef1a27964ad97260e85 (patch)
tree13314c97eeca38f1ad0dc9a30a15699581f3846b /src
parentUse serialize_all on CompressionMethods enum (diff)
downloadminiserve-2c4d35560d794af286a4cef1a27964ad97260e85.tar.gz
miniserve-2c4d35560d794af286a4cef1a27964ad97260e85.zip
Make body take 100% height in HTML
Diffstat (limited to 'src')
-rw-r--r--src/renderer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index 21dfe4e..cf30d4a 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -281,6 +281,7 @@ fn css(color_scheme: &themes::ColorScheme) -> Markup {
color: {text_color};
background: {background};
position: relative;
+ min-height: 100%;
}}
.container {{
padding: 1.5rem 5rem;