Skip to content

Commit

Permalink
Merge pull request #790 from ibi-group/mark-bikeshare-legs
Browse files Browse the repository at this point in the history
fix(itinerary-body): indicate rented bikes in class name
  • Loading branch information
miles-grant-ibigroup authored Nov 4, 2024
2 parents 1feb8f4 + 88861d8 commit d76c17f
Show file tree
Hide file tree
Showing 3 changed files with 348 additions and 346 deletions.
4 changes: 3 additions & 1 deletion packages/itinerary-body/src/ItineraryBody/place-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ export default function PlaceRow({

return (
<S.PlaceRowWrapper
className={`place-row-wrapper ${leg.transitLeg ? "transit" : ""}`}
className={`place-row-wrapper ${leg.transitLeg ? "transit" : ""} ${
leg.rentedBike ? "rented-bike" : ""
}`}
key={legIndex || "destination-place"}
>
<S.LineColumn>
Expand Down
Loading

0 comments on commit d76c17f

Please sign in to comment.