diff --git a/app/src/frontend/map/map.tsx b/app/src/frontend/map/map.tsx index e667bed3..5b30d475 100644 --- a/app/src/frontend/map/map.tsx +++ b/app/src/frontend/map/map.tsx @@ -173,7 +173,7 @@ class ColouringMap extends Component { // TODO: add prop - + ) : null } diff --git a/app/src/frontend/map/search-box.css b/app/src/frontend/map/search-box.css index 7d51397c..1a767bbb 100644 --- a/app/src/frontend/map/search-box.css +++ b/app/src/frontend/map/search-box.css @@ -5,9 +5,6 @@ z-index: 1000; max-width:80%; } -.building.search-box { - top: 0.5rem; -} .search-box form, .search-box .search-box-results { border-radius: 4px; diff --git a/app/src/frontend/map/search-box.tsx b/app/src/frontend/map/search-box.tsx index 59c3216f..06d2b67b 100644 --- a/app/src/frontend/map/search-box.tsx +++ b/app/src/frontend/map/search-box.tsx @@ -8,8 +8,7 @@ import { SearchIcon } from '../components/icons'; */ class SearchBox extends Component { // TODO: add proper types static propTypes = { // TODO: generate propTypes from TS - onLocate: PropTypes.func, - isBuilding: PropTypes.bool + onLocate: PropTypes.func }; constructor(props) { @@ -159,7 +158,7 @@ class SearchBox extends Component { // TODO: add proper types : null; return ( -
+