diff options
author | Vitaly Takmazov | 2019-02-01 17:10:01 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | 6a78fbeaddcc2a23d2dbbdf7d3b2ce7a4508041a (patch) | |
tree | 7778dae620adfcec8f99fffd0ac2729cb3d4ce75 /vnext/src/style | |
parent | 2b34577ce9d2057631bbf573180cdaa18adf400a (diff) |
fixed footer
Diffstat (limited to 'vnext/src/style')
-rw-r--r-- | vnext/src/style/main.css | 7 |
1 files 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; } |