Skip to content

Commit

Permalink
fix misaligned trip card text
Browse files Browse the repository at this point in the history
  • Loading branch information
JGreenlee committed Feb 12, 2025
1 parent 89127bc commit 0a13ed6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions www/js/diary/cards/TripCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,14 @@ const TripCard = ({ trip, isFirstInList }: Props) => {
{/* right panel */}
<View style={[cardStyles.panelSection, { marginTop: 0 }]}>
{/* date and distance */}
<Text style={{ fontSize: 14, textAlign: 'center' }}>
<Text style={{ fontWeight: 'bold', textDecorationLine: 'underline' }}>
{displayDate}
</Text>
<Text
style={{
fontSize: 14,
textAlign: 'center',
fontWeight: 'bold',
textDecorationLine: 'underline',
}}>
{displayDate}
</Text>
<Text style={{ fontSize: 13, textAlign: 'center' }}>
{t('diary.distance-in-time', {
Expand Down

0 comments on commit 0a13ed6

Please sign in to comment.