Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf149279

Browse files
fix(site): fix group badge visual (#13263)
1 parenta8a0be9 commitf149279

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

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

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import{useTheme}from"@emotion/react";
22
importGroupIconfrom"@mui/icons-material/Group";
3-
importButtonfrom"@mui/material/Button";
43
importListfrom"@mui/material/List";
54
importListItemfrom"@mui/material/ListItem";
65
importTableCellfrom"@mui/material/TableCell";
@@ -31,18 +30,14 @@ export function UserGroupsCell({ userGroups }: GroupsCellProps) {
3130
) :(
3231
<Popovermode="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)

[8]ページ先頭

©2009-2025 Movatter.jp