Skip to content

Commit

Permalink
Make sure mobile layout has left/right padding
Browse files Browse the repository at this point in the history
  • Loading branch information
jhroemer committed Sep 26, 2024
1 parent 5ead2ce commit 7002227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const { pageTitle }: Props = Astro.props;

<style>
body {
padding: 10vh 0;
padding: 10vh 4vw;
}
</style>

Expand Down
2 changes: 1 addition & 1 deletion src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ html.dark {
body {
margin: 0 auto;
width: 100%;
max-width: 80ch;
max-width: 95ch;
padding: 1rem;
line-height: 1.5;
}
Expand Down

0 comments on commit 7002227

Please sign in to comment.