From e1796d7afd23b6f967c73f03b92155b6d8eb4a2f Mon Sep 17 00:00:00 2001
From: Hailey <me@haileyok.com>
Date: Mon, 28 Oct 2024 09:54:18 -0700
Subject: Limit number of lines in starter pack card (#5973)

---
 src/components/StarterPack/StarterPackCard.tsx | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

(limited to 'src/components/StarterPack/StarterPackCard.tsx')

diff --git a/src/components/StarterPack/StarterPackCard.tsx b/src/components/StarterPack/StarterPackCard.tsx
index 29cccecc8..0f24566b6 100644
--- a/src/components/StarterPack/StarterPackCard.tsx
+++ b/src/components/StarterPack/StarterPackCard.tsx
@@ -66,10 +66,16 @@ export function Card({
       <View style={[a.flex_row, a.gap_sm]}>
         {!noIcon ? <StarterPack width={40} gradient="sky" /> : null}
         <View style={[a.flex_1]}>
-          <Text emoji style={[a.text_md, a.font_bold, a.leading_snug]}>
+          <Text
+            emoji
+            style={[a.text_md, a.font_bold, a.leading_snug]}
+            numberOfLines={2}>
             {record.name}
           </Text>
-          <Text emoji style={[a.leading_snug, t.atoms.text_contrast_medium]}>
+          <Text
+            emoji
+            style={[a.leading_snug, t.atoms.text_contrast_medium]}
+            numberOfLines={1}>
             {creator?.did === currentAccount?.did
               ? _(msg`Starter pack by you`)
               : _(msg`Starter pack by ${sanitizeHandle(creator.handle, '@')}`)}
-- 
cgit 1.4.1

