Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
fix(styles): re-affix buttons to small screen bottoms
Browse files Browse the repository at this point in the history
  • Loading branch information
chadoh committed Jan 27, 2021
1 parent 04a9a46 commit 5cecb5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ html {

body {
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
Expand Down
5 changes: 5 additions & 0 deletions src/css/transfer-form.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
.transfer-form {
/* body is flex-direction: column & min-height: 100vh.
* flex: 1 here stretches this element to fill rest of vertical viewport */
flex: 1;

/* also stretch this element vertically, to push footer to bottom */
display: flex;
flex-direction: column;
margin-top: 2rem;
Expand Down

0 comments on commit 5cecb5a

Please sign in to comment.