Skip to content

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

fix(mobile): truncate bookmark title with tailwind shrink (#2699)

xuatz90821073be8d
diff --git a/apps/mobile/components/bookmarks/BookmarkCard.tsx b/apps/mobile/components/bookmarks/BookmarkCard.tsx
index e2dab31a..e64c09ce 100644
--- a/apps/mobile/components/bookmarks/BookmarkCard.tsx
+++ b/apps/mobile/components/bookmarks/BookmarkCard.tsx
@@ -411,7 +411,7 @@ function LinkCard({
<TagList bookmark={bookmark} />
<Divider orientation="vertical" className="mt-2 h-0.5 w-full" />
<View className="mt-2 flex flex-row justify-between px-2 pb-2">
- <Text className="my-auto" numberOfLines={1}>
+ <Text className="my-auto shrink" numberOfLines={1}>
{parsedUrl.host}
</Text>
<ActionBar bookmark={bookmark} />