Minor adjustments
This commit is contained in:
2
web/dist/main.css
vendored
2
web/dist/main.css
vendored
@@ -852,7 +852,7 @@ h5 {
|
|||||||
.modal > div {
|
.modal > div {
|
||||||
width: 460px;
|
width: 460px;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 10% auto;
|
margin: 5% auto;
|
||||||
padding: 5px 20px 13px 20px;
|
padding: 5px 20px 13px 20px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -151,6 +151,8 @@ class Main extends React.Component {
|
|||||||
map.setCenter(place.geometry.location)
|
map.setCenter(place.geometry.location)
|
||||||
map.setZoom(18)
|
map.setZoom(18)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
document.activeElement.blur();
|
||||||
this.dispatch({type: 'SEARCH_PLACE_CHANGED'})
|
this.dispatch({type: 'SEARCH_PLACE_CHANGED'})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ const viewImage = ({type, action}, component) => {
|
|||||||
const searchPlaceChanged = ({type, action}, component) => {
|
const searchPlaceChanged = ({type, action}, component) => {
|
||||||
component.setState({
|
component.setState({
|
||||||
listingDetails: false,
|
listingDetails: false,
|
||||||
|
listingId: null,
|
||||||
page: 0
|
page: 0
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user