Skip to content

Commit

Permalink
feat: fix list item
Browse files Browse the repository at this point in the history
  • Loading branch information
toshusai committed Sep 3, 2024
1 parent 34f2291 commit bf116b1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/css/src/ListItem/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,16 @@
outline: none;
}

.cmpui_list-item__root[aria-selected="true"] {
.cmpui_list-item__root[aria-selected="true"],
.cmpui_list-item__root:not([data-no-interaction="true"])[aria-selected="true"] {
background-color: var(--cmpui-bg-focus-color);

color: white;
}

.cmpui_list-item__root[data-no-interaction="true"] {
cursor: default;
}

.cmpui_list-item__root[aria-disabled="true"],
.cmpui_list-item__root[aria-disabled="true"]:hover,
.cmpui_list-item__root[aria-disabled="true"]:active {
Expand Down

0 comments on commit bf116b1

Please sign in to comment.