diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx index 7a23d87..9add494 100644 --- a/components/LinkCard.tsx +++ b/components/LinkCard.tsx @@ -218,7 +218,7 @@ export default function LinkCard({ link, count, className }: Props) { width={64} height={64} alt="" - className={`absolute w-12 duration-100 bg-white shadow rounded-md p-1 bottom-5 right-5 select-none z-10`} + className={`absolute w-12 bg-white shadow rounded-md p-1 bottom-5 right-5 select-none z-10`} draggable="false" onError={(e) => { const target = e.target as HTMLElement; @@ -250,7 +250,7 @@ export default function LinkCard({ link, count, className }: Props) {

{collection?.name}

- {/* {link.tags[0] ? ( + {link.tags[0] ? (
{link.tags.map((e, i) => ( @@ -260,15 +260,17 @@ export default function LinkCard({ link, count, className }: Props) { onClick={(e) => { e.stopPropagation(); }} - className="btn btn-xs btn-outline truncate max-w-[19rem]" + className="btn btn-xs btn-ghost truncate max-w-[19rem]" > - {e.name} + #{e.name} ))}
- ) : undefined} */} + ) : ( +

No Tags

+ )} - {e.name} + #{e.name} ))} diff --git a/pages/links/[id].tsx b/pages/links/[id].tsx index b7200a0..0a991e1 100644 --- a/pages/links/[id].tsx +++ b/pages/links/[id].tsx @@ -165,7 +165,7 @@ export default function Index() { height={42} alt="" id={"favicon-" + link.id} - className="select-none mt-2 w-10 rounded-md shadow border-[3px] border-base-100 bg-base-100 aspect-square" + className="bg-white shadow rounded-md p-1 bottom-5 right-5 select-none" draggable="false" onLoad={(e) => { try { @@ -239,9 +239,9 @@ export default function Index() {

- {e.name} + #{e.name}

))} diff --git a/pages/public/links/[id].tsx b/pages/public/links/[id].tsx index 2dc6268..918f4dd 100644 --- a/pages/public/links/[id].tsx +++ b/pages/public/links/[id].tsx @@ -239,14 +239,10 @@ export default function Index() { -

- {e.name} -

+ #{e.name} ))}