Skip to content

Commit

Permalink
Merge pull request #2080 from HSLdevcom/DT-2383
Browse files Browse the repository at this point in the history
DT-2383: Firefox renders wrong map size in route and itinerary pages
  • Loading branch information
vesameskanen authored Jan 5, 2018
2 parents 5f8df24 + b7c73e7 commit c7e7a2c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
13 changes: 13 additions & 0 deletions app/component/route.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,20 @@ $route-schedule-date-height: 36px;
flex-direction: column;
padding-bottom: 1.5em;
overflow-x: hidden;
overflow-y: auto;
flex: 1 0;
flex-basis: 0px;
background-color: $white;
.route-stop:last-child .route-stop-row_content-container {
border-bottom: none;
}
}

.mobile .route-stop-list {
overflow-y: visible;
flex-basis: auto;
}

.bp-medium, .bp-large {
&.location-details_container .route-now-content {
& svg {
Expand Down
12 changes: 12 additions & 0 deletions app/component/stop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@
}
}

.stop-scroll-container {
flex-basis: 0px;
flex-grow: 1;
.departure-list {
overflow-x: hidden;
}
}
.mobile .stop-scroll-container {
flex-basis: 100%;
overflow-y: visible;
}

.desktop .stop-page.header {
.h3 {
font-size: 24px;
Expand Down
3 changes: 2 additions & 1 deletion app/component/summary.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.desktop .summary {
flex: 1 1 0px;
flex: 1 0 0px;
flex-basis: 0px;
display: flex;
flex-direction: column;
overflow-x: auto;
Expand Down

0 comments on commit c7e7a2c

Please sign in to comment.