Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

fixed UI bug

daniel31x13697b1394937c
diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx
index 63f08c4a..2a0bb567 100644
--- a/components/CollectionCard.tsx
+++ b/components/CollectionCard.tsx
@@ -152,7 +152,7 @@ export default function CollectionCard({ collection, className }: Props) {
if (target.id !== "expand-dropdown" + collection.id)
setExpandDropdown(false);
}}
- className="absolute top-[3.2rem] right-5 z-10"
+ className="absolute top-[3.2rem] right-5 z-10 w-fit"
/>
) : null}
</div>
diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx
index b50299da..86637c0c 100644
--- a/components/LinkCard.tsx
+++ b/components/LinkCard.tsx
@@ -240,7 +240,7 @@ export default function LinkCard({ link, count, className }: Props) {
if (target.id !== "expand-dropdown" + link.id)
setExpandDropdown(false);
}}
- className="absolute top-12 right-5 w-36"
+ className="absolute top-12 right-5 w-fit"
/>
) : null}
</div>
diff --git a/pages/collections/[id].tsx b/pages/collections/[id].tsx
index 632ab4e2..1c19ef0b 100644
--- a/pages/collections/[id].tsx
+++ b/pages/collections/[id].tsx
@@ -220,7 +220,7 @@ export default function Index() {
if (target.id !== "expand-dropdown")
setExpandDropdown(false);
}}
- className="absolute top-8 right-0 z-10 w-40"
+ className="absolute top-8 right-0 z-10 w-fit"
/>
) : null}
</div>
diff --git a/pages/tags/[id].tsx b/pages/tags/[id].tsx
index 1804a757..537b65f1 100644
--- a/pages/tags/[id].tsx
+++ b/pages/tags/[id].tsx
@@ -93,7 +93,7 @@ export default function Index() {
/>
{renameTag ? (
<>
- <form onSubmit={submit} className="flex items-end gap-2">
+ <form onSubmit={submit} className="flex items-center gap-2">
<input
type="text"
autoFocus