diff --git a/.changeset/friendly-peaches-knock.md b/.changeset/friendly-peaches-knock.md new file mode 100644 index 0000000000..ef3513673f --- /dev/null +++ b/.changeset/friendly-peaches-knock.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Bug: ActionList-item disabled state diff --git a/src/actionlist/action-list-item.scss b/src/actionlist/action-list-item.scss index c670678155..7004819d1a 100644 --- a/src/actionlist/action-list-item.scss +++ b/src/actionlist/action-list-item.scss @@ -237,7 +237,7 @@ // disabled &[aria-disabled='true'] { - .ActionList-item-content { + .ActionList-content { .ActionList-item-label, .ActionList-item-description { color: var(--color-primer-fg-disabled); @@ -246,12 +246,12 @@ .ActionList-item-visual { fill: var(--color-primer-fg-disabled); } + } - @media (hover: hover) { - &:hover { - cursor: not-allowed; - background-color: transparent; - } + @media (hover: hover) { + &:hover { + cursor: not-allowed; + background-color: transparent; } } }