Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
disable useragent styling for dialog
  • Loading branch information
eranhirsch authored and thecrypticace committed Apr 28, 2023
commit 2e77ba4e112fcfa594d579a26d5f99bcf5a5efbb
13 changes: 13 additions & 0 deletions src/css/preflight.css
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,18 @@ menu {
padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
margin: 0;
border: none;
padding: 0;
background: transparent;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more nit here - with a double space before transparent

color: inherit;
}


/*
Prevent resizing textareas horizontally by default.
*/
Expand Down Expand Up @@ -369,3 +381,4 @@ video {
[hidden] {
display: none;
}