mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 22:54:31 +00:00
fix(content-releases): use the same width and height for the two menus (#19399)
This commit is contained in:
parent
44f19b3d2f
commit
3054a74dd9
@ -104,7 +104,7 @@ const DeleteReleaseActionItem = ({ releaseId, actionId }: DeleteReleaseActionIte
|
||||
<CheckPermissions permissions={PERMISSIONS.deleteAction}>
|
||||
<StyledMenuItem variant="danger" onSelect={handleDeleteAction}>
|
||||
<Flex gap={2}>
|
||||
<Icon as={Cross} padding={1} />
|
||||
<Icon as={Cross} width={3} height={3} />
|
||||
<Typography textColor="danger600" variant="omega">
|
||||
{formatMessage({
|
||||
id: 'content-releases.content-manager-edit-view.remove-from-release',
|
||||
@ -164,7 +164,7 @@ const ReleaseActionEntryLinkItem = ({
|
||||
pathname: `/content-manager/collection-types/${contentTypeUid}/${entryId}`,
|
||||
search: locale && `?plugins[i18n][locale]=${locale}`,
|
||||
}}
|
||||
startIcon={<Icon as={Pencil} padding={1} />}
|
||||
startIcon={<Icon as={Pencil} width={3} height={3} />}
|
||||
>
|
||||
<Typography variant="omega">
|
||||
{formatMessage({
|
||||
|
||||
@ -89,16 +89,16 @@ const StyledFlex = styled(Flex)<{ disabled?: boolean }>`
|
||||
`;
|
||||
|
||||
const PencilIcon = styled(Pencil)`
|
||||
width: ${({ theme }) => theme.spaces[4]};
|
||||
height: ${({ theme }) => theme.spaces[4]};
|
||||
width: ${({ theme }) => theme.spaces[3]};
|
||||
height: ${({ theme }) => theme.spaces[3]};
|
||||
path {
|
||||
fill: ${({ theme }) => theme.colors.neutral600};
|
||||
}
|
||||
`;
|
||||
|
||||
const TrashIcon = styled(Trash)`
|
||||
width: ${({ theme }) => theme.spaces[4]};
|
||||
height: ${({ theme }) => theme.spaces[4]};
|
||||
width: ${({ theme }) => theme.spaces[3]};
|
||||
height: ${({ theme }) => theme.spaces[3]};
|
||||
path {
|
||||
fill: ${({ theme }) => theme.colors.danger600};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user