mirror of
https://github.com/primer/css.git
synced 2024-11-25 18:26:14 +03:00
ActionList hide the first divider if there's hidden items in front of it. (#2229)
* Hiding divider if the item in front of it is hidden * Create rich-boxes-crash.md
This commit is contained in:
parent
56ea4ab176
commit
8a4c087885
5
.changeset/rich-boxes-crash.md
Normal file
5
.changeset/rich-boxes-crash.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
ActionList hide the first divider if there's hidden items in front of it.
|
@ -113,6 +113,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Make sure that the first visible item isn't a divider
|
||||
&[hidden] + .ActionList-sectionDivider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Autocomplete [aria-selected] items
|
||||
|
||||
&[aria-selected='true'] {
|
||||
|
Loading…
Reference in New Issue
Block a user