use min-height instead of height

This commit is contained in:
Rhiannon Morris 2021-05-24 13:03:47 +02:00
parent cae894c7ba
commit 50d34bbd70
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ make' root (IndexInfo {title, desc, galleries, links, footer}) = [b|@0
<link rel=stylesheet href=/style/shiny/index.css>
<link rel=icon href=/style/niss.svg>
<meta name=viewport content="width=1200,viewport-fit=cover">
<meta name=viewport content="width=1200">
<meta property=og:type content=og:website>
<meta property=og:title content="$title">

View File

@ -1,7 +1,7 @@
@import url(base.css);
:root {
height: 100vh;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;