mirror of
https://github.com/primer/css.git
synced 2024-08-16 19:50:30 +03:00
Drop “display: none” from details element contents styling (#2624)
Fixes #2592
This commit is contained in:
parent
1fb377cf97
commit
7e6253292c
5
.changeset/slow-rabbits-hunt.md
Normal file
5
.changeset/slow-rabbits-hunt.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
drop “display: none” from details element contents styling
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user