From 96b9a96a50c34341b3f00eac74073d08cc914a46 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 23 Aug 2019 14:55:09 -0700 Subject: Layout: Regression: fix blank space at bottom of short pages --- youtube/static/shared.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/youtube/static/shared.css b/youtube/static/shared.css index 3624272..382f86c 100644 --- a/youtube/static/shared.css +++ b/youtube/static/shared.css @@ -17,6 +17,8 @@ body{ background-color:#cccccc; min-height:100vh; + display: flex; + flex-direction: column; } header{ @@ -99,7 +101,7 @@ body{ } main{ - grid-row: 2; + flex-grow: 1; } -- cgit v1.2.3