1
1
mirror of https://github.com/primer/css.git synced 2024-11-22 10:49:41 +03:00

Drop “display: none” from details element contents styling (#2624)

Fixes #2592
This commit is contained in:
sideshowbarker 2024-07-09 18:11:01 +09:00 committed by GitHub
parent 1fb377cf97
commit 7e6253292c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 7 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
drop “display: none” from details element contents styling

View File

@ -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