Skip to content

Commit

Permalink
Changed layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kotva006 committed Apr 30, 2024
1 parent 9398237 commit 1b68621
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<div class="ps-8">
<% duration_minutes = DotcomWeb.TripPlanView.display_seconds_as_minutes(@itinerary_row.duration) %>
<% stop_string = Inflex.inflect("Stop", intermediate_stop_count) %>
<div class="d-flex">
<div class="u-bold pe-8 text-wrap">Ride the <%= @branch_display %> </div> (<%= intermediate_stop_count %> <%= stop_string %>, <%= duration_minutes %> min)
<div class="text-wrap">
<span class="u-bold pe-8">Ride the <%= @branch_display %> </span> (<%= intermediate_stop_count %> <%= stop_string %>, <%= duration_minutes %> min)
</div>
<div class="text-wrap">
<% headsign = if @itinerary_row.trip.headsign == "", do: "", else: "towards #{@itinerary_row.trip.headsign}" %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<div>
<% duration_minutes = display_seconds_as_minutes(@itinerary_row.duration) %>
<% distance_miles = display_meters_as_miles(@itinerary_row.distance) %>
<div class="d-flex">
<div class="u-bold ps-8 pe-8 text-wrap">Walk to <%= @next_stop_name %></div>(<%= distance_miles %> mi, <%= duration_minutes %> min)
<div class="ps-8 text-wrap">
<span class="u-bold pe-8">Walk to <%= @next_stop_name %></span>(<%= distance_miles %> mi, <%= duration_minutes %> min)
</div>
<div>
<span class="expand-link-stop-text ps-8 pt-8">
Expand Down

0 comments on commit 1b68621

Please sign in to comment.