Skip to content

Commit

Permalink
Bug: ActionList-item disabled state (#2136)
Browse files Browse the repository at this point in the history
* fix disabled state

* Create friendly-peaches-knock.md

* Stylelint auto-fixes

* lint

Co-authored-by: Actions Auto Build <actions@github.com>
  • Loading branch information
langermank and actions-user committed Jun 30, 2022
1 parent cfd53cc commit 8984684
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/friendly-peaches-knock.md
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Bug: ActionList-item disabled state
12 changes: 6 additions & 6 deletions src/actionlist/action-list-item.scss
Expand Up @@ -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);
Expand All @@ -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;
}
}
}
Expand Down

0 comments on commit 8984684

Please sign in to comment.