Skip to content

Commit

Permalink
fix: adjust collectible arrow hover transparancy, closes #4971
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Jul 2, 2024
1 parent 7ec537b commit ddb72e7
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/app/features/collectibles/components/collectible-hover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ReactNode } from 'react';

import { Box } from 'leather-styles/jsx';

import { ArrowUpIcon, IconButton } from '@leather.io/ui';
import { ExternalLinkIcon, IconButton } from '@leather.io/ui';

interface CollectibleHoverProps {
collectibleTypeIcon?: ReactNode;
Expand Down Expand Up @@ -40,21 +40,12 @@ export function CollectibleHover({
{onClickCallToAction && (
<IconButton
_focus={{ outline: 'focus' }}
_hover={{ bg: 'ink.component-background-hover' }}
alignItems="center"
bg="ink.background-primary"
borderRadius="50%"
display="flex"
height="30px"
justifyContent="center"
icon={
<ArrowUpIcon
transform="rotate(45deg)"
borderRadius="50%"
width="30px"
height="30px"
_hover={{ bg: 'ink.component-background-hover' }}
/>
}
icon={<ExternalLinkIcon />}
onClick={e => {
e.stopPropagation();
onClickCallToAction();
Expand All @@ -63,7 +54,6 @@ export function CollectibleHover({
right="12px"
top="12px"
type="button"
width="30px"
zIndex={999}
/>
)}
Expand Down

0 comments on commit ddb72e7

Please sign in to comment.