added custom icons for links

This commit is contained in:
daniel31x13
2024-08-24 15:50:29 -04:00
parent bf1a6efd2e
commit fae9e95fa9
7 changed files with 72 additions and 40 deletions
+3 -1
View File
@@ -127,7 +127,9 @@ export default function LinkDetails({ className, link }: Props) {
return (
<div className={className} data-vaul-no-drag>
<LinkIcon link={link} className="mx-auto" />
<div className="mx-auto w-fit">
<LinkIcon link={link} hideBackground />
</div>
{link.name && <p className="text-xl text-center mt-2">{link.name}</p>}