diff options
author | bobzel <zzzman@gmail.com> | 2023-08-21 15:45:09 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-21 15:45:09 -0400 |
commit | 775f55b2d013608d3c53166d36ec927e08c3dcef (patch) | |
tree | 39c1c2ebb345839058d2bb0fdddca985ca942678 /src | |
parent | 371a56fd7c6d31545af4798fd256b5a5bb078e55 (diff) |
fixed alignemnt of map search
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 |