Skip to content

Commit 07e5171

Browse files
Merge pull request #713 from opentripplanner/ambient-font-with-itin
Render itinerary bodies using ambient font
2 parents 409f779 + 4c5c8b2 commit 07e5171

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: lib/components/narrative/line-itin/connected-itinerary-body.js

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ const ItineraryBodyContainer = styled.div`
3737
`
3838

3939
const StyledItineraryBody = styled(ItineraryBody)`
40+
/* Render itineraries using the ambient font (not necessarily Hind). */
41+
*:not(.fa) {
42+
font-family: inherit;
43+
}
4044
${PlaceNameWrapper} {
4145
font-weight: inherit;
4246
}

0 commit comments

Comments
 (0)