Skip to content

Commit

Permalink
fix: adjust css styles for better display on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
spik3s committed Jan 13, 2025
1 parent 08b9ed0 commit c0ffcc6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
/*height: 100vh;*/
background-color: #f0f0f0;
margin: 0;
padding: 0;
Expand All @@ -28,10 +27,7 @@ body {

@media screen and (max-width: 800px), screen and (max-height: 600px) {
.container {
transform: scale(calc(min(
100vw / var(--app-width),
100vh / var(--app-height)
)));
transform: scale(0.5);
}
}

Expand Down

0 comments on commit c0ffcc6

Please sign in to comment.