Skip to content

Commit

Permalink
Merge pull request #227 from lkhrs/issue226
Browse files Browse the repository at this point in the history
Center dialog on small screen widths
  • Loading branch information
lkhrs authored Feb 16, 2025
2 parents be882ce + 4bbdbe1 commit 5fdca71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,7 @@ dialog::backdrop {

@media only screen and (max-width: 720px) {
dialog {
max-width: 100%;
margin: auto 1em;
max-width: calc(100vw - 2rem);
}
}

Expand Down

0 comments on commit 5fdca71

Please sign in to comment.