Skip to content

Commit

Permalink
fix(Itinerary): fix dates alignment in RTL
Browse files Browse the repository at this point in the history
Dates were always aligned to the right, instead of respecting RTL
  • Loading branch information
DSil committed Apr 2, 2024
1 parent 67f5198 commit 6034467
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -67,7 +67,7 @@ const ItinerarySegmentStop = ({
<ItineraryText
type={cancelledDate ? textType : "secondary"}
size="small"
align="right"
align="end"
as="div"
withBackground={!!cancelledDate}
>
Expand All @@ -80,7 +80,7 @@ const ItinerarySegmentStop = ({
</ItineraryText>
)}
{cancelledDate && (
<ItineraryText type="secondary" size="small" align="right" strikeThrough as="div">
<ItineraryText type="secondary" size="small" align="end" strikeThrough as="div">
{cancelledDate}
</ItineraryText>
)}
Expand Down

0 comments on commit 6034467

Please sign in to comment.