From 04c05a0e0c1c84575ea064303a083bb011ddd270 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 21 Aug 2023 16:09:33 -0400 Subject: fixed input placement in map search --- src/client/views/nodes/MapBox/MapBox.scss | 3 +++ src/client/views/nodes/MapBox/MapBox.tsx | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/MapBox/MapBox.scss b/src/client/views/nodes/MapBox/MapBox.scss index 7e96d2d4e..b704b26a2 100644 --- a/src/client/views/nodes/MapBox/MapBox.scss +++ b/src/client/views/nodes/MapBox/MapBox.scss @@ -17,6 +17,9 @@ .editableText-container { width: 100%; } + input { + width: 100%; + } } .mapBox-topbar { display: flex; diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx index f7f046e9a..91333845a 100644 --- a/src/client/views/nodes/MapBox/MapBox.tsx +++ b/src/client/views/nodes/MapBox/MapBox.tsx @@ -471,7 +471,7 @@ export class MapBox extends ViewBoxAnnotatableComponent typeof newText === 'string' && this.searchbarOnEdit(newText)} onEnter={e => this.bingSearch()} - placeholder="Boston" + placeholder={this.bingSearchBarContents} textAlign="center" /> -- cgit v1.2.3-70-g09d2