Skip to content

Commit

Permalink
fix: demo viewport on mobile
Browse files Browse the repository at this point in the history
closes #73
  • Loading branch information
hugomrdias committed Sep 7, 2023
1 parent 06dd585 commit eec9d17
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/demo/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,20 @@

.App {
display: flex;
max-width: 800px;
max-width: 100vw;
max-width: 100dvw;
margin: 20px auto;
padding: 0 10px;
word-wrap: break-word;
flex-direction: column;
}

@media screen and (min-width: 960px) {
.App {
max-width: 800px;
}
}

.Box {
background-color: var(--background-alt);
border-radius: 6px;
Expand Down

0 comments on commit eec9d17

Please sign in to comment.