Skip to content

Commit d3c516c

Browse files
authored
Merge branch 'main' into checkbox-radio
2 parents 5067381 + 8984684 commit d3c516c

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.changeset/friendly-peaches-knock.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Bug: ActionList-item disabled state

src/actionlist/action-list-item.scss

+6-6
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237

238238
// disabled
239239
&[aria-disabled='true'] {
240-
.ActionList-item-content {
240+
.ActionList-content {
241241
.ActionList-item-label,
242242
.ActionList-item-description {
243243
color: var(--color-primer-fg-disabled);
@@ -246,12 +246,12 @@
246246
.ActionList-item-visual {
247247
fill: var(--color-primer-fg-disabled);
248248
}
249+
}
249250

250-
@media (hover: hover) {
251-
&:hover {
252-
cursor: not-allowed;
253-
background-color: transparent;
254-
}
251+
@media (hover: hover) {
252+
&:hover {
253+
cursor: not-allowed;
254+
background-color: transparent;
255255
}
256256
}
257257
}

0 commit comments

Comments
 (0)