File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 61
61
.otp .settings-preview .compressed {
62
62
height : 95px ;
63
63
text-align : center;
64
- padding : 0px 15 px ;
64
+ padding : 0px ;
65
65
}
66
66
67
67
.otp .settings-preview .selected-modes .some-selected-label {
Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react'
2
2
import PropTypes from 'prop-types'
3
3
import { connect } from 'react-redux'
4
- import { Button } from 'react-bootstrap'
4
+ import { Button , Col , Row } from 'react-bootstrap'
5
5
6
6
import DefaultMap from '../map/default-map'
7
7
import ErrorMessage from '../form/error-message'
@@ -68,22 +68,22 @@ class MobileResultsScreen extends Component {
68
68
)
69
69
70
70
const locationsSummary = (
71
- < div className = 'locations-summary' style = { { padding : '4px 8px' } } >
72
- < div style = { { float : 'right' } } >
73
- < Button
74
- className = 'edit-search-button'
75
- onClick = { this . _editSearchClicked }
76
- > Edit</ Button >
77
- </ div >
78
- < div style = { { fontSize : '15px' , lineHeight : '19px' } } >
71
+ < Row xs = { 12 } className = 'locations-summary' style = { { padding : '4px 8px' } } >
72
+ < Col xs = { 8 } sm = { 11 } style = { { fontSize : '1.1em' , lineHeight : '1.2em' } } >
79
73
< div className = 'location' >
80
74
< i className = 'fa fa-map-marker' /> { query . from ? query . from . name : '' }
81
75
</ div >
82
76
< div className = 'location' style = { { marginTop : '2px' } } >
83
77
< i className = 'fa fa-dot-circle-o' /> { query . to ? query . to . name : '' }
84
78
</ div >
85
- </ div >
86
- </ div >
79
+ </ Col >
80
+ < Col xs = { 4 } sm = { 1 } >
81
+ < Button
82
+ className = 'edit-search-button'
83
+ onClick = { this . _editSearchClicked }
84
+ > Edit</ Button >
85
+ </ Col >
86
+ </ Row >
87
87
)
88
88
89
89
if ( error ) {
You can’t perform that action at this time.
0 commit comments