File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ import * as mapActions from '../../actions/map'
15
15
16
16
import connectLocationField from './connect-location-field'
17
17
18
+ // TODO: Merge with connected-location-field.js
18
19
const StyledIntermediatePlace = styled ( LocationField ) `
19
20
width: 100%;
20
21
21
22
${ DropdownContainer } {
22
- display: table-cell;
23
- vertical-align: middle;
24
- width: 1%;
23
+ display: grid;
24
+ grid-template-columns: 30px 1fr 30px;
25
25
}
26
26
27
27
${ FormGroup } {
@@ -31,19 +31,16 @@ const StyledIntermediatePlace = styled(LocationField)`
31
31
}
32
32
33
33
${ Input } {
34
- display: table-cell;
35
34
padding: 6px 12px;
36
- width: 100%;
37
35
}
38
36
39
37
${ InputGroup } {
40
38
width: 100%;
41
39
}
42
40
43
41
${ InputGroupAddon } {
44
- display: table-cell;
45
- vertical-align: middle;
46
- width: 1%;
42
+ align-self: baseline;
43
+ justify-self: center;
47
44
}
48
45
49
46
${ MenuItemA } {
You can’t perform that action at this time.
0 commit comments