1
1
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:
Jon Rohan 2022-08-30 12:48:23 -07:00 committed by GitHub
parent 56ea4ab176
commit 8a4c087885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
ActionList hide the first divider if there's hidden items in front of it.

View File

@ -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'] {