Skip to content

Commit a3955df

Browse files
committed
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>
1 parent b844af9 commit a3955df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/mobile/src/modules/entry-content/EntryTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const EntryTitle = ({ title, entryId }: { title: string; entryId: string
106106
setTitleHeight(titleHeight)
107107
}}
108108
>
109-
<Text className="text-label px-4 text-4xl font-bold leading-snug">{title}</Text>
109+
<Text className="text-label px-2 text-4xl font-bold leading-snug">{title}</Text>
110110
</View>
111111
</>
112112
)

apps/mobile/src/screens/(stack)/entries/[entryId]/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const FeedInfo = ({ feedId }: { feedId: string }) => {
121121
if (!feed) return null
122122
return (
123123
<View className="mb-2">
124-
<Text className="text-secondary-label">{feed.title}</Text>
124+
<Text className="text-secondary-label">{feed.title?.trim()}</Text>
125125
</View>
126126
)
127127
}

0 commit comments

Comments
 (0)