Use flexbox to allow a given page to grow to at least the full page height and use flexbox to center the subscription form instead of absolute positioning

This commit is contained in:
Kevin MacMartin 2018-04-15 21:58:27 -04:00
parent d335a3d587
commit 2bc4eea8f8
2 changed files with 11 additions and 0 deletions

View file

@ -56,6 +56,11 @@ body {
}
.main-content {
display: flex;
flex-grow: 1;
> div {
width: 100%;
}
}
}

View file

@ -0,0 +1,6 @@
.home-page-component {
display: flex;
flex-grow: 1;
justify-content: center;
align-items: center;
}