diff --git a/components/LinkDetails.tsx b/components/LinkDetails.tsx index e489078..0f237ca 100644 --- a/components/LinkDetails.tsx +++ b/components/LinkDetails.tsx @@ -135,16 +135,15 @@ export default function LinkDetails({ className, link }: Props) {

{t("link")}

-
- - {link.url} - - +
+
+ + {link.url} + +
+ +
+
)} @@ -153,20 +152,24 @@ export default function LinkDetails({ className, link }: Props) {

{t("collection")}

- -

{link.collection.name}

- - +
+ +

{link.collection.name}

+
+ +
+ +
{link.tags[0] && ( <> diff --git a/components/ModalContent/LinkDetailModal.tsx b/components/ModalContent/LinkDetailModal.tsx index 2e6308a..e9f0086 100644 --- a/components/ModalContent/LinkDetailModal.tsx +++ b/components/ModalContent/LinkDetailModal.tsx @@ -117,7 +117,7 @@ export default function LinkDetailModal({ onClose, onEdit, link }: Props) { className="bi-box-arrow-up-right text-xl text-neutral btn btn-sm btn-square btn-ghost absolute top-3 right-3 select-none" > -
+
{permissions === true || diff --git a/pages/links/[id].tsx b/pages/links/[id].tsx index cfa8785..9f2aaec 100644 --- a/pages/links/[id].tsx +++ b/pages/links/[id].tsx @@ -17,14 +17,14 @@ const Index = () => { }, []); return ( -
+
{getLink.data ? ( ) : ( -
+
diff --git a/pages/public/links/[id].tsx b/pages/public/links/[id].tsx index cfa8785..9f2aaec 100644 --- a/pages/public/links/[id].tsx +++ b/pages/public/links/[id].tsx @@ -17,14 +17,14 @@ const Index = () => { }, []); return ( -
+
{getLink.data ? ( ) : ( -
+