From d714f8ae1940f08283c491b09a1c23127cf04064 Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 30 Jul 2021 09:03:53 -0400 Subject: from last --- src/client/views/nodes/MapBox/MapBox.tsx | 142 +++++++++++++++---------------- 1 file changed, 68 insertions(+), 74 deletions(-) (limited to 'src/client/views/nodes/MapBox/MapBox.tsx') diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx index 2d53116f3..2b3bcb0a2 100644 --- a/src/client/views/nodes/MapBox/MapBox.tsx +++ b/src/client/views/nodes/MapBox/MapBox.tsx @@ -255,88 +255,82 @@ export class MapBox extends ViewBoxAnnotatableComponent - {/* HELLO WORLD! */} -
e.stopPropagation()} - onPointerDown={e => (e.button === 0 && !e.ctrlKey) && e.stopPropagation()} > - {/* // {/* + {/* // {/* */} -
- this.loadHandler(map)} - options={mapOptions} - > - - - - - {this.childDocs.map(place => ( - this.markerLoadHandler(marker, place)} - onClick={e => this.markerClickHandler(e, place)} - /> - ))} - {this.infoWindowOpen && this.selectedPlace && ( - -
-
+
e.stopPropagation()} + onPointerDown={e => (e.button === 0 && !e.ctrlKey) && e.stopPropagation()} + style={{ width: `calc(100% - ${this.sidebarWidthPercent})` }}> + this.loadHandler(map)} + options={mapOptions} + > + + + + + {this.childDocs.map(place => ( + this.markerLoadHandler(marker, place)} + onClick={e => this.markerClickHandler(e, place)} + /> + ))} + {this.infoWindowOpen && this.selectedPlace && ( + +
+
+
+ +
+
+
+
+
+ +
+
- -
-
-
-
-
- -
-
-
- -
+
- - )} - -
- {/* {/* */} -
- -
- {this.sidebarHandle} +
+ + )} + +
+ {/* {/* */} +
+
+ {this.sidebarHandle}
; } } \ No newline at end of file -- cgit v1.2.3-70-g09d2