aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/MapBox/MapBox.tsx20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx
index aa2130af5..fc1edb2b1 100644
--- a/src/client/views/nodes/MapBox/MapBox.tsx
+++ b/src/client/views/nodes/MapBox/MapBox.tsx
@@ -594,7 +594,25 @@ export class MapBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
<Autocomplete
onLoad={this.setSearchBox}
onPlaceChanged={this.handlePlaceChanged}>
- <input ref={this.inputRef} className="searchbox" type="text" placeholder="Search anywhere:" />
+ <input ref={this.inputRef}
+ type="text"
+ placeholder="Customized your placeholder"
+ style={{
+ boxSizing: `border-box`,
+ border: `1px solid transparent`,
+ width: `240px`,
+ height: `32px`,
+ padding: `0 12px`,
+ borderRadius: `3px`,
+ boxShadow: `0 2px 6px rgba(0, 0, 0, 0.3)`,
+ fontSize: `14px`,
+ outline: `none`,
+ textOverflow: `ellipses`,
+ position: "absolute",
+ left: "50%",
+ marginLeft: "-120px"
+ }}
+ />
</Autocomplete>
{this.renderMarkers()}