aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-22 00:19:13 +0000
committerMohamedBassem <me@mbassem.com>2024-03-22 00:19:13 +0000
commit816d1d6cc7b2941497f834c3fb40bd14ce2d89d9 (patch)
tree03672ca3e4472a4676f544f6078c9b801a849f8b /apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx
parente0950b7174665ce388310c42552003effe016eb8 (diff)
downloadkarakeep-816d1d6cc7b2941497f834c3fb40bd14ce2d89d9.tar.zst
fix: Fix the creation date tooltip in preview pag
Diffstat (limited to 'apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx')
-rw-r--r--apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx4
1 files changed, 3 insertions, 1 deletions
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>
);