Skip to content

Commit

Permalink
fix(list-item): Add hover styling (#5891)
Browse files Browse the repository at this point in the history
**Related Issue:** #5880

## Summary

fix(list-item): Add hover styling


![Dec-05-2022
11-59-25](https://user-images.githubusercontent.com/1231455/205731651-a0ca7383-ae73-4bd3-8c73-717b19d2da64.gif)
  • Loading branch information
driskull committed Dec 5, 2022
1 parent 1e3b8ca commit 063d6e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/list-item/list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier)
);
}
.container:hover {
@apply bg-foreground-2;
}

.container--border-selected {
border-inline-start: theme("borderWidth.4") solid theme("colors.brand");
Expand Down

0 comments on commit 063d6e9

Please sign in to comment.