From 789188b522c0570b092f588209c4f0d270b703e3 Mon Sep 17 00:00:00 2001
From: Evan Frenkel <3375094+evan6seven@users.noreply.github.com>
Date: Sun, 18 Jan 2026 05:14:22 -0800
Subject: fix(web): avoid masonry overflow in bookmark grids (#2400)

---
 .../components/dashboard/bookmarks/BookmarksGridSkeleton.tsx | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'apps/web/components/dashboard/bookmarks/BookmarksGridSkeleton.tsx')

diff --git a/apps/web/components/dashboard/bookmarks/BookmarksGridSkeleton.tsx b/apps/web/components/dashboard/bookmarks/BookmarksGridSkeleton.tsx
index b592919b..9adc7b7a 100644
--- a/apps/web/components/dashboard/bookmarks/BookmarksGridSkeleton.tsx
+++ b/apps/web/components/dashboard/bookmarks/BookmarksGridSkeleton.tsx
@@ -69,12 +69,20 @@ export default function BookmarksGridSkeleton({
 
   return bookmarkLayoutSwitch(layout, {
     masonry: (
-      <Masonry className="flex gap-4" breakpointCols={breakpointConfig}>
+      <Masonry
+        className="-ml-4 flex w-auto"
+        columnClassName="pl-4"
+        breakpointCols={breakpointConfig}
+      >
         {children}
       </Masonry>
     ),
     grid: (
-      <Masonry className="flex gap-4" breakpointCols={breakpointConfig}>
+      <Masonry
+        className="-ml-4 flex w-auto"
+        columnClassName="pl-4"
+        breakpointCols={breakpointConfig}
+      >
         {children}
       </Masonry>
     ),
-- 
cgit v1.2.3-70-g09d2

