Skip to content

Commit

Permalink
style: footer layout on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Beraliv committed Dec 30, 2024
1 parent e29c125 commit 9385125
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/App.module.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
.App {
max-width: 42rem;
margin-top: auto;
display: grid;
grid-template-rows: auto 1fr auto;
gap: 1rem;
min-height: 96vh;
padding: 2vh;
height: calc(100% - 1rem);
padding: 0.5rem 1rem;
}

.Conversion {
Expand Down
5 changes: 5 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ a:hover {
color: #535bf2;
}

html,
body {
height: 100%;
}

body {
margin: 0;
display: flex;
Expand Down

0 comments on commit 9385125

Please sign in to comment.