Skip to content

Commit

Permalink
reset all dialog UA styles
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Jan 11, 2024
1 parent db280f2 commit 63643ef
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/components/primer/alpha/dialog.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ dialog.Overlay:not([open]) {
display: none;
}

/* dialog defualts to CanvasText not inherit */
/* override dialog user agent styles */
dialog.Overlay {
color: var(--fgColor-default);
position: initial;
display: initial;
inset: initial;
margin: initial;
border: initial;
padding: initial;
color: initial;
}


Expand Down

0 comments on commit 63643ef

Please sign in to comment.