Fix height is not 100%, footer is not at bottom

This commit is contained in:
2021-08-25 17:35:03 +08:00
parent f1e4ec6217
commit 3ef80768b4

View File

@@ -1,3 +1,6 @@
html {
height: 100%;
}
body {
font-family: Avenir, HelveticaNeue-Light, "Helvetica Neue Light",
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
@@ -11,6 +14,8 @@ body {
width: 100%;
box-sizing: border-box;
word-break: break-word;
height: 100%;
justify-content: space-between;
}
p {
margin: 1.5em 0;