From 975716937feb89b6d59f3afa7f45a117c195c8a0 Mon Sep 17 00:00:00 2001 From: daniel31x13 Date: Wed, 28 Aug 2024 20:30:57 -0400 Subject: [PATCH] minor improvement --- .../LinkViews/LinkComponents/LinkIcon.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/components/LinkViews/LinkComponents/LinkIcon.tsx b/components/LinkViews/LinkComponents/LinkIcon.tsx index 5bc9104..6ee8a46 100644 --- a/components/LinkViews/LinkComponents/LinkIcon.tsx +++ b/components/LinkViews/LinkComponents/LinkIcon.tsx @@ -16,7 +16,7 @@ export default function LinkIcon({ hideBackground?: boolean; }) { let iconClasses: string = clsx( - "rounded flex item-center justify-center shadow-md select-none z-10 w-12 h-12", + "rounded flex item-center justify-center shadow select-none z-10 w-12 h-12", !hideBackground && "rounded-md bg-white backdrop-blur-lg bg-opacity-50 p-1", className ); @@ -29,13 +29,15 @@ export default function LinkIcon({ return ( <> {link.icon ? ( - +
+ +
) : link.type === "url" && url ? ( showFavicon ? (