From 6a78fbeaddcc2a23d2dbbdf7d3b2ce7a4508041a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 1 Feb 2019 17:10:01 +0300 Subject: fixed footer --- vnext/src/style/main.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vnext/src/style/main.css b/vnext/src/style/main.css index b35b2e2d..b70e0b2c 100644 --- a/vnext/src/style/main.css +++ b/vnext/src/style/main.css @@ -80,8 +80,10 @@ hr { display: grid; grid-template-areas: "header" "content" "footer"; grid-template-columns: 1fr; - grid-template-rows: min-content minmax(1fr, min-content) min-content; + grid-template-rows: auto 1fr auto; transition: margin-left 0.2s; + min-height: 100vh; + max-height: 100vh; } #header { @@ -125,10 +127,9 @@ hr { #wrapper { background: #fefdfe; grid-area: content; - height: 100%; - width: 100%; margin-top: 12px; overflow-x: hidden; + overflow-y: auto; transition: margin-left 0.4s; } -- cgit v1.2.3