diff options
| author | Aubrey-Li <63608597+Aubrey-Li@users.noreply.github.com> | 2021-07-17 12:58:57 -0700 |
|---|---|---|
| committer | Aubrey-Li <63608597+Aubrey-Li@users.noreply.github.com> | 2021-07-17 12:58:57 -0700 |
| commit | d5c261f306a45fda46e948b9db001874a2d9a0ae (patch) | |
| tree | b9299d4f67798864df48b5b98831ee2499c2ed8a /src/client/views/nodes/MapBox/MapBox.scss | |
| parent | 992b5ca20414c28eba255cf319eb2b762cb69933 (diff) | |
add MapBox
Diffstat (limited to 'src/client/views/nodes/MapBox/MapBox.scss')
| -rw-r--r-- | src/client/views/nodes/MapBox/MapBox.scss | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/client/views/nodes/MapBox/MapBox.scss b/src/client/views/nodes/MapBox/MapBox.scss new file mode 100644 index 000000000..863907aaf --- /dev/null +++ b/src/client/views/nodes/MapBox/MapBox.scss @@ -0,0 +1,32 @@ +.MapBox { + width: 100%; + height: 100%; + overflow: hidden; + + .MapBox-contents { + width: 100%; + height: 100%; + overflow: hidden; + > div { + position: unset !important; // when the sidebar filter flys out, this prevents the map from extending outside the document box + } + + .map-wrapper { + .searchbox { + box-sizing: border-box; + border: 1px solid transparent; + width: 240px; + height: 32px; + padding: 0 12px; + border-radius: 3px; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); + font-size: 14px; + outline: none; + text-overflow: ellipses; + position: absolute; + left: 50%; + margin-left: -120px; + } + } + } +} |
