Skip to content

Commit

Permalink
Remove default style for <dialog> for small screens
Browse files Browse the repository at this point in the history
Having a breakpoint in the user agent style sheet is unprecedented,
unexpected, and more work to maintain and test. It has also not
been implemented in Chromium.

Fixes #624.
  • Loading branch information
zcorpan committed Mar 23, 2017
1 parent a0a23b9 commit 09c0acd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -109869,15 +109869,6 @@ dialog::backdrop {
background: rgba(0,0,0,0.1);
}

/* for small devices, modal dialogs go full-screen */
@media screen and (max-width: 540px) {
dialog:modal {
top: 0;
width: auto;
margin: 1em;
}
}

slot {
display: contents;
}
Expand Down

0 comments on commit 09c0acd

Please sign in to comment.