Skip to content

Commit

Permalink
Fix weird overflow on wide tablet screen sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
aSouchereau committed Jun 1, 2024
1 parent 0416ae2 commit 2dbf81e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,31 @@
}
body {
margin: 0;
width: 100vw;
}
#app {
max-width: 100vw;
margin: 0 auto;
}

.container {
box-sizing: border-box;
width: 95vw;
margin: 0 auto;
}

@media only screen
and (min-width: 496px) {
.container {
width: auto;
padding: 0 2rem;
margin: 0 auto;
}
}

@media only screen
and (min-width: 992px) {
.container {
width: 62rem;
}
}

0 comments on commit 2dbf81e

Please sign in to comment.