Skip to content

Commit 9c5983d

Browse files
authored
Merge pull request #1007 from HSLdevcom/fix-summary-overflow
Fix issues with flex-shrink not working
2 parents 02dc2da + 5a6a0ac commit 9c5983d

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/component/summary-row.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
}
3737

3838
.itinerary-duration-and-distance {
39-
width: 150px;
39+
width: 4em;
4040
margin-top: 7px;
4141
}
4242

@@ -59,7 +59,7 @@
5959
text-align: right;
6060
padding-right: 10px;
6161
padding-left: 5px;
62-
width: 75px;
62+
width: 3em;
6363
margin-top: 7px;
6464

6565
.itinerary-first-leg-start-time {
@@ -77,15 +77,16 @@
7777

7878
.itinerary-end-time {
7979
padding-left: 10px;
80-
width: 60px;
80+
width: 3em;
8181
margin-top: 7px;
8282
}
8383

8484
.itinerary-legs {
85-
width: 100%;
8685
display: flex;
8786
white-space: nowrap;
8887
margin-top: 3px;
88+
min-width: 0;
89+
flex: 1 1 0;
8990

9091
.leg {
9192
flex: 1 0 0;
@@ -211,7 +212,6 @@
211212
.itinerary-legs {
212213
padding-top: 0;
213214
margin-top: 17px;
214-
flex-shrink: 2;
215215

216216
.line:after {
217217
top: 10px;
76 Bytes
Loading
5 Bytes
Loading
57 Bytes
Loading

0 commit comments

Comments
 (0)