aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/public/lists
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2025-08-22 00:40:31 +0300
committerMohamedBassem <me@mbassem.com>2025-08-22 00:40:31 +0300
commit7bdc8b2c3e6a21a773f713e61957ef388fc7439e (patch)
treebba132734935db69cc389a78a398e6535ae0ab50 /apps/web/components/public/lists
parentf620dc676222b4f5103d5dd3014c1fb68e623c05 (diff)
downloadkarakeep-7bdc8b2c3e6a21a773f713e61957ef388fc7439e.tar.zst
fix(web): Fix dark mode titles for public lists
Diffstat (limited to 'apps/web/components/public/lists')
-rw-r--r--apps/web/components/public/lists/PublicBookmarkGrid.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/components/public/lists/PublicBookmarkGrid.tsx b/apps/web/components/public/lists/PublicBookmarkGrid.tsx
index 0aa16eae..0aea0220 100644
--- a/apps/web/components/public/lists/PublicBookmarkGrid.tsx
+++ b/apps/web/components/public/lists/PublicBookmarkGrid.tsx
@@ -58,7 +58,7 @@ function BookmarkCard({ bookmark }: { bookmark: ZPublicBookmark }) {
<Link
href={bookmark.content.url}
target="_blank"
- className="line-clamp-2 text-ellipsis text-lg font-medium leading-tight text-gray-900"
+ className="line-clamp-2 text-ellipsis text-lg font-medium leading-tight"
>
{bookmark.title}
</Link>
@@ -70,7 +70,7 @@ function BookmarkCard({ bookmark }: { bookmark: ZPublicBookmark }) {
return (
<div className="space-y-2">
{bookmark.title && (
- <h3 className="line-clamp-2 text-ellipsis text-lg font-medium leading-tight text-gray-900">
+ <h3 className="line-clamp-2 text-ellipsis text-lg font-medium leading-tight">
{bookmark.title}
</h3>
)}
@@ -107,7 +107,7 @@ function BookmarkCard({ bookmark }: { bookmark: ZPublicBookmark }) {
<div className="space-y-2">
{bookmark.bannerImageUrl ? (
<div className="aspect-video w-full overflow-hidden rounded bg-gray-100">
- <Link href={bookmark.content.assetUrl}>
+ <Link href={bookmark.content.assetUrl} target="_blank">
<img
src={bookmark.bannerImageUrl}
alt={bookmark.title ?? "Asset preview"}
@@ -128,7 +128,7 @@ function BookmarkCard({ bookmark }: { bookmark: ZPublicBookmark }) {
<Link
href={bookmark.content.assetUrl}
target="_blank"
- className="line-clamp-2 text-ellipsis text-lg font-medium leading-tight text-gray-900"
+ className="line-clamp-2 text-ellipsis text-lg font-medium leading-tight"
>
{bookmark.title}
</Link>