Skip to content

Commit

Permalink
Fixed wrapping and padding
Browse files Browse the repository at this point in the history
  • Loading branch information
kotva006 committed Apr 30, 2024
1 parent 54810a0 commit 9398237
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/css/_stop-bubbles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ $location-line-width: $space-6;
text-align: left;
width: 100%;

@include media-breakpoint-down(sm) {
padding-right: 0;
}

&:hover {
text-decoration: none;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<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>
<div>
<div class="text-wrap">
<% headsign = if @itinerary_row.trip.headsign == "", do: "", else: "towards #{@itinerary_row.trip.headsign}" %>
<%= Routes.Route.direction_name(@route, @itinerary_row.trip.direction_id) %> <%= headsign %>
</div>
Expand Down

0 comments on commit 9398237

Please sign in to comment.