diff --git a/.changeset/short-flies-tie.md b/.changeset/short-flies-tie.md new file mode 100644 index 0000000000..6293917bd9 --- /dev/null +++ b/.changeset/short-flies-tie.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +drop !important from details styling diff --git a/src/base/base.scss b/src/base/base.scss index dbf662b2c2..5d123ef253 100644 --- a/src/base/base.scss +++ b/src/base/base.scss @@ -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; } } }