Skip to content

Commit 527a671

Browse files
authored
Merge pull request #1196 from e-mission/fix-misaligned-trip-card-text
fix misaligned trip card text
2 parents 157afec + 0a13ed6 commit 527a671

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

www/js/diary/cards/TripCard.tsx

+8-4
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,14 @@ const TripCard = ({ trip, isFirstInList }: Props) => {
8282
{/* right panel */}
8383
<View style={[cardStyles.panelSection, { marginTop: 0 }]}>
8484
{/* date and distance */}
85-
<Text style={{ fontSize: 14, textAlign: 'center' }}>
86-
<Text style={{ fontWeight: 'bold', textDecorationLine: 'underline' }}>
87-
{displayDate}
88-
</Text>
85+
<Text
86+
style={{
87+
fontSize: 14,
88+
textAlign: 'center',
89+
fontWeight: 'bold',
90+
textDecorationLine: 'underline',
91+
}}>
92+
{displayDate}
8993
</Text>
9094
<Text style={{ fontSize: 13, textAlign: 'center' }}>
9195
{t('diary.distance-in-time', {

0 commit comments

Comments
 (0)