Skip to content

Commit

Permalink
fix: improve link card if has color
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Dec 25, 2023
1 parent 3240bc8 commit 087fb8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ui/link-card/LinkCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,12 @@ const LinkCardImpl: FC<LinkCardProps> = (props) => {
(loading || isError) && styles['skeleton'],
isError && styles['error'],
'group',

className,
)}
style={{
borderColor: cardInfo?.color ? `${cardInfo.color}30` : '',
}}
onClick={handleCanPeek}
onMouseMove={handleMouseMove}
>
Expand Down

1 comment on commit 087fb8c

@vercel
Copy link

@vercel vercel bot commented on 087fb8c Dec 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

shiro-innei.vercel.app
springtide.vercel.app
shiro-git-main-innei.vercel.app
innei.in

Please sign in to comment.