Skip to content

Commit

Permalink
drop !important from details styling (#2611)
Browse files Browse the repository at this point in the history
* drop !important from details styling

* Create short-flies-tie.md

---------

Co-authored-by: Katie Langerman <18661030+langermank@users.noreply.github.com>
  • Loading branch information
keithamus and langermank committed May 7, 2024
1 parent 2eabfde commit e867934
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/short-flies-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

drop !important from details styling
2 changes: 1 addition & 1 deletion src/base/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ details {
&:not([open]) {
// Set details content hidden by default for browsers that don't do this
> *:not(summary) {
display: none !important;
display: none;
}
}
}
Expand Down

0 comments on commit e867934

Please sign in to comment.