diff --git a/front/src/components/Maps/MapBox.tsx b/front/src/components/Maps/MapBox.tsx index 407be180..9b3db839 100644 --- a/front/src/components/Maps/MapBox.tsx +++ b/front/src/components/Maps/MapBox.tsx @@ -425,66 +425,63 @@ function MapBox(props: MapBoxprops) { } return ( -
-
- -
-
- {/* */} -
+
+
+
+ +
-
-
-
- setViewState(ev.viewState)} - // theme of map - mapStyle={"mapbox://styles/mapbox/streets-v12"} - onClick={(ev: MapLayerMouseEvent) => onMapClick(ev)} - onMouseMove={(ev: MapLayerMouseEvent) => onMouseMove(ev)} - onMouseOut={(ev: MapLayerMouseEvent) => onMouseOut(ev)} - ref={mapRef} - > - - - - - - - - - - - - {/* + setViewState(ev.viewState)} + // theme of map + mapStyle={"mapbox://styles/mapbox/streets-v12"} + onClick={(ev: MapLayerMouseEvent) => onMapClick(ev)} + onMouseMove={(ev: MapLayerMouseEvent) => onMouseMove(ev)} + onMouseOut={(ev: MapLayerMouseEvent) => onMouseOut(ev)} + ref={mapRef} + > + + + + + + + + + + + + {/* Long: {popupCoords.long}

Lat: {popupCoords.lat}
*/} -
-
-
-
-

{searchNotiText}

+ +
+
+
+

{searchNotiText}

+
+
+ +
+
diff --git a/front/src/styles/main.css b/front/src/styles/main.css index 46d3ab02..c0d50d83 100644 --- a/front/src/styles/main.css +++ b/front/src/styles/main.css @@ -19,7 +19,7 @@ .maps-history { /* margin: auto; */ display: flex; - /* overflow: scroll; */ + overflow: scroll; justify-content: center; height: 60vh; } @@ -44,11 +44,9 @@ padding-left: 1.5%; width: 500px; display: flex; - /* overflow: scroll; */ + overflow: scroll; justify-content: center; align-items: center; - width: 30vh; - float: right; } .bottom{ @@ -117,7 +115,6 @@ td { width: 800px; overflow: auto; border: 2px solid #FFC0CB; - margin-bottom: 10vh; } @@ -351,7 +348,7 @@ input[type="radio"]:focus { /* z-index: 1; */ } -.side-panel { +/* .side-panel { position: relative; top: 0; bottom: 0; @@ -359,13 +356,13 @@ input[type="radio"]:focus { height: 65vh; width: 100vh; margin-bottom: 14.5vh; - display: flex; + display: flex; */ /* overflow: scroll; */ - justify-content: center; + /* justify-content: center; background-color: #FFFFFF; border: 2px solid #FFC0CB; margin-left: 10vh; -} +} */ .error-notification { color: red;