Skip to content

Commit f149279

Browse files
fix(site): fix group badge visual (#13263)
1 parent a8a0be9 commit f149279

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

site/src/pages/UsersPage/UsersTable/UserGroupsCell.tsx

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { useTheme } from "@emotion/react";
22
import GroupIcon from "@mui/icons-material/Group";
3-
import Button from "@mui/material/Button";
43
import List from "@mui/material/List";
54
import ListItem from "@mui/material/ListItem";
65
import TableCell from "@mui/material/TableCell";
@@ -31,18 +30,14 @@ export function UserGroupsCell({ userGroups }: GroupsCellProps) {
3130
) : (
3231
<Popover mode="hover">
3332
<PopoverTrigger>
34-
<Button
33+
<button
3534
css={{
36-
justifyContent: "flex-start",
37-
fontSize: theme.typography.body2.fontSize,
38-
lineHeight: theme.typography.body2.lineHeight,
39-
fontWeight: 400,
35+
cursor: "pointer",
36+
backgroundColor: "transparent",
4037
border: "none",
4138
padding: 0,
42-
"&:hover": {
43-
border: "none",
44-
backgroundColor: "transparent",
45-
},
39+
color: "inherit",
40+
lineHeight: "1",
4641
}}
4742
>
4843
<Stack
@@ -62,7 +57,7 @@ export function UserGroupsCell({ userGroups }: GroupsCellProps) {
6257
{userGroups.length} Group{userGroups.length !== 1 && "s"}
6358
</span>
6459
</Stack>
65-
</Button>
60+
</button>
6661
</PopoverTrigger>
6762

6863
<PopoverContent

0 commit comments

Comments
 (0)