mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
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:
parent
d335a3d587
commit
2bc4eea8f8
2 changed files with 11 additions and 0 deletions
5
resources/assets/sass/app.scss
vendored
5
resources/assets/sass/app.scss
vendored
|
@ -56,6 +56,11 @@ body {
|
|||
}
|
||||
|
||||
.main-content {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
|
||||
> div {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
6
resources/assets/sass/pages/_home.scss
vendored
Normal file
6
resources/assets/sass/pages/_home.scss
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
.home-page-component {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
Loading…
Reference in a new issue