From e2a5f360085567834253588193a8bf4087b58234 Mon Sep 17 00:00:00 2001 From: daniel31x13 Date: Sat, 2 Dec 2023 12:48:34 -0500 Subject: [PATCH] minor improvement to link cards --- components/LinkCard.tsx | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx index 1f018f4c..02a5faf8 100644 --- a/components/LinkCard.tsx +++ b/components/LinkCard.tsx @@ -124,7 +124,7 @@ export default function LinkCard({ link, count, className }: Props) { return (
@@ -219,7 +219,7 @@ export default function LinkCard({ link, count, className }: Props) { alt="" className={`${ account.blurredFavicons ? "blur-sm " : "" - }absolute w-16 group-hover:opacity-80 duration-100 rounded-2xl bottom-5 right-5 opacity-60 select-none z-10`} + } absolute w-10 duration-100 rounded-2xl bottom-5 right-5 select-none z-10`} draggable="false" onError={(e) => { const target = e.target as HTMLElement; @@ -252,24 +252,24 @@ export default function LinkCard({ link, count, className }: Props) { {/* {link.tags[0] ? ( -
-
- {link.tags.map((e, i) => ( - { - e.stopPropagation(); - }} - className="px-2 bg-sky-200 dark:bg-sky-900 text-xs rounded-3xl cursor-pointer hover:opacity-60 duration-100 truncate max-w-[19rem]" - > - {e.name} - - ))} -
-
+
+
+ {link.tags.map((e, i) => ( + { + e.stopPropagation(); + }} + className="btn btn-xs btn-outline truncate max-w-[19rem]" + > + {e.name} + + ))}
- ) : undefined} */} +
+
+ ) : undefined} */}