diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/MapBox/MapBox.scss | 4 | ||||
-rw-r--r-- | src/client/views/nodes/MapBox/MapBox.tsx | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/nodes/MapBox/MapBox.scss b/src/client/views/nodes/MapBox/MapBox.scss index a910f294e..7e96d2d4e 100644 --- a/src/client/views/nodes/MapBox/MapBox.scss +++ b/src/client/views/nodes/MapBox/MapBox.scss @@ -14,7 +14,9 @@ .mapBox-searchbar { display: flex; flex-direction: row; - width: calc(100% - 40px); + .editableText-container { + 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 568cc275a..f6f0d4402 100644 --- a/src/client/views/nodes/MapBox/MapBox.tsx +++ b/src/client/views/nodes/MapBox/MapBox.tsx @@ -804,6 +804,7 @@ export class MapBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps // editing setVal={(newText: string | number) => typeof newText === 'string' && this.searchbarOnEdit(newText)} placeholder="Boston" + textAlign="center" /> </div> <IconButton |