use min-height instead of height
This commit is contained in:
parent
cae894c7ba
commit
50d34bbd70
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ make' root (IndexInfo {title, desc, galleries, links, footer}) = [b|@0
|
||||||
<link rel=stylesheet href=/style/shiny/index.css>
|
<link rel=stylesheet href=/style/shiny/index.css>
|
||||||
<link rel=icon href=/style/niss.svg>
|
<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:type content=og:website>
|
||||||
<meta property=og:title content="$title">
|
<meta property=og:title content="$title">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@import url(base.css);
|
@import url(base.css);
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
height: 100vh;
|
min-height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
Loading…
Reference in a new issue