Skip to content

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

Update dashboard.tsx

daniel31x136a38ad961a29
diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx
index caa9967f..5f039cd4 100644
--- a/pages/dashboard.tsx
+++ b/pages/dashboard.tsx
@@ -115,19 +115,21 @@ export default function Dashboard() {
<div
style={{ flex: "1 1 auto" }}
- className="flex flex-col 2xl:flex-row items-start justify-evenly 2xl:gap-2"
+ className="flex flex-col 2xl:flex-row items-start 2xl:gap-2"
>
{links.some((e) => e.pinnedBy && e.pinnedBy[0]) ? (
- <div
- className={`grid overflow-hidden 2xl:grid-cols-3 xl:grid-cols-2 grid-cols-1 gap-5 w-full ${
- linkPinDisclosure ? "h-full" : "h-44"
- }`}
- >
- {links
- .filter((e) => e.pinnedBy && e.pinnedBy[0])
- .map((e, i) => (
- <LinkCard key={i} link={e} count={i} />
- ))}
+ <div className="w-full">
+ <div
+ className={`grid overflow-hidden 2xl:grid-cols-3 xl:grid-cols-2 grid-cols-1 gap-5 w-full ${
+ linkPinDisclosure ? "h-full" : "h-44"
+ }`}
+ >
+ {links
+ .filter((e) => e.pinnedBy && e.pinnedBy[0])
+ .map((e, i) => (
+ <LinkCard key={i} link={e} count={i} />
+ ))}
+ </div>
</div>
) : (
<div