diff --git a/.changeset/slow-rabbits-hunt.md b/.changeset/slow-rabbits-hunt.md new file mode 100644 index 0000000000..6efb904772 --- /dev/null +++ b/.changeset/slow-rabbits-hunt.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +drop “display: none” from details element contents styling diff --git a/src/base/base.scss b/src/base/base.scss index 5d123ef253..7fde534cdd 100644 --- a/src/base/base.scss +++ b/src/base/base.scss @@ -96,13 +96,6 @@ details { summary { cursor: pointer; } - - &:not([open]) { - // Set details content hidden by default for browsers that don't do this - > *:not(summary) { - display: none; - } - } } // global focus styles