Skip to content

Commit

Permalink
fixed mobile width.
Browse files Browse the repository at this point in the history
  • Loading branch information
callum-tilbury-oxa committed Jan 9, 2025
1 parent e1cb05b commit 38f460d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
html, body {
height: 100%;
margin: 0;
margin-top: 0.5em;
}

body {
Expand All @@ -21,7 +21,7 @@ main {
justify-content: center; /* vertical center */
align-items: left; /* horizontal center */
flex: 1; /* take up remaining space */
max-width: 400px;
max-width: min(85%, 400px);
margin: 0 auto;
text-align: left;
}
Expand Down

0 comments on commit 38f460d

Please sign in to comment.