fix(mobile): adjust entry title and feed title display
- Reduce horizontal padding in EntryTitle component - Trim feed title to remove potential whitespace Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
parent
b844af9a8d
commit
a3955dffed
|
|
@ -106,7 +106,7 @@ export const EntryTitle = ({ title, entryId }: { title: string; entryId: string
|
|||
setTitleHeight(titleHeight)
|
||||
}}
|
||||
>
|
||||
<Text className="text-label px-4 text-4xl font-bold leading-snug">{title}</Text>
|
||||
<Text className="text-label px-2 text-4xl font-bold leading-snug">{title}</Text>
|
||||
</View>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ const FeedInfo = ({ feedId }: { feedId: string }) => {
|
|||
if (!feed) return null
|
||||
return (
|
||||
<View className="mb-2">
|
||||
<Text className="text-secondary-label">{feed.title}</Text>
|
||||
<Text className="text-secondary-label">{feed.title?.trim()}</Text>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue