Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: Fix the creation date tooltip in preview pag

MohamedBassem816d1d6cc7b2
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>
);