diff --git a/src/components/profile/profile-item.tsx b/src/components/profile/profile-item.tsx index 9ad6bfa26a0298d8c4184fbb068f432294b40c1a..d29c96977ba93c0095490c8a9691aed28ec3e3c2 100644 --- a/src/components/profile/profile-item.tsx +++ b/src/components/profile/profile-item.tsx @@ -280,6 +280,7 @@ const ProfileItem = (props: Props) => { anchorPosition={position} anchorReference="anchorPosition" transitionDuration={225} + MenuListProps={{ sx: { py: 0.5 } }} onContextMenu={(e) => { setAnchorEl(null); e.preventDefault(); @@ -289,7 +290,8 @@ const ProfileItem = (props: Props) => { <MenuItem key={item.label} onClick={item.handler} - sx={{ minWidth: 133 }} + sx={{ minWidth: 120 }} + dense > {t(item.label)} </MenuItem> diff --git a/src/components/profile/profile-more.tsx b/src/components/profile/profile-more.tsx index 1acb36e0c80356872b05c70c585432f07b4bca1d..328962eeebc0bbcafcf72739a3e91ce5a184aa7e 100644 --- a/src/components/profile/profile-more.tsx +++ b/src/components/profile/profile-more.tsx @@ -199,6 +199,7 @@ const ProfileMore = (props: Props) => { anchorPosition={position} anchorReference="anchorPosition" transitionDuration={225} + MenuListProps={{ sx: { py: 0.5 } }} onContextMenu={(e) => { setAnchorEl(null); e.preventDefault(); @@ -210,7 +211,8 @@ const ProfileMore = (props: Props) => { <MenuItem key={item.label} onClick={item.handler} - sx={{ minWidth: 133 }} + sx={{ minWidth: 120 }} + dense > {t(item.label)} </MenuItem>