Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions packages/react/src/ActionList/ActionList.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
}

/* PERFORMANCE: Use data-disabled on <li> instead of :has([aria-disabled], [disabled]) which scans descendants */
&:not([data-disabled='true'], [data-has-subitem='true']) {
&:not([aria-disabled], [data-disabled='true'], [data-has-subitem='true']) {
@media (hover: hover) {
&:hover,
&:active {
Expand Down Expand Up @@ -642,8 +642,7 @@ default block */
word-break: normal;
}

/* PERFORMANCE: data-truncate is on this element itself, no :has() needed */
&[data-truncate='true'] {
&:has([data-truncate='true']) {
& .ItemLabel {
flex: 1 0 auto;
}
Expand Down
Loading