From 816d1d6cc7b2941497f834c3fb40bd14ce2d89d9 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Fri, 22 Mar 2024 00:19:13 +0000
Subject: fix: Fix the creation date tooltip in preview pag

---
 apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

diff --git a/apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx b/apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx
index 632422c4..2c393fe7 100644
--- a/apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx
+++ b/apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx
@@ -46,7 +46,9 @@ function CreationTime({ createdAt }: { createdAt: Date }) {
             <CalendarDays /> {dayjs(createdAt).fromNow()}
           </span>
         </TooltipTrigger>
-        <TooltipContent>{createdAt.toLocaleString()}</TooltipContent>
+        <TooltipPortal>
+          <TooltipContent>{createdAt.toLocaleString()}</TooltipContent>
+        </TooltipPortal>
       </Tooltip>
     </TooltipProvider>
   );
-- 
cgit v1.2.3-70-g09d2

