Skip to content

Commit

Permalink
Merge pull request #1196 from e-mission/fix-misaligned-trip-card-text
Browse files Browse the repository at this point in the history
fix misaligned trip card text
  • Loading branch information
JGreenlee authored Feb 14, 2025
2 parents 157afec + 0a13ed6 commit 527a671
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 527a671

Please sign in to comment.