Skip to content

Commit 40e771d

Browse files
chore(ui): Fix RolesListItem selected and hover states (#7498)
1 parent ebe92ea commit 40e771d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/chubby-beans-type.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

packages/ui/src/components/OrganizationProfile/MemberListTable.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,12 @@ const RolesListItem = memo((props: RolesListItemProps) => {
242242
width: '100%',
243243
padding: `${theme.space.$2} ${theme.space.$4}`,
244244
borderRadius: theme.radii.$md,
245+
'&:hover': {
246+
backgroundColor: theme.colors.$neutralAlpha100,
247+
},
248+
'&[data-focused="true"]': {
249+
backgroundColor: theme.colors.$neutralAlpha150,
250+
},
245251
}),
246252
sx,
247253
]}

0 commit comments

Comments
 (0)