Skip to content

Commit

Permalink
fix: Mobile width
Browse files Browse the repository at this point in the history
  • Loading branch information
ff6347 committed Dec 3, 2024
1 parent 05d40d2 commit 9607fb6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,20 @@
</html>

<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html,
body {
margin: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
padding: 16px;
}
</style>
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ import Layout from "../layouts/Layout.astro";
/* Geometric Humanist */
font-family: Avenir, Montserrat, Corbel, "URW Gothic", source-sans-pro,
sans-serif;
box-sizing: border-box;
}
main {
font-weight: normal;
Expand All @@ -59,6 +58,7 @@ import Layout from "../layouts/Layout.astro";
align-items: center;
gap: 1rem;
max-width: 60ch;
padding: 16px;
}
main a#download-link {
display: inline-block;
Expand Down

0 comments on commit 9607fb6

Please sign in to comment.