From 2ffd94bd5b26adaef8f8101f47b5c32fe2da91a4 Mon Sep 17 00:00:00 2001 From: popovspiridon99 Date: Thu, 25 Sep 2025 16:42:19 +0900 Subject: [PATCH] smaller tab's text in TabsPane; use Drawer in MapComponent for object view --- client/src/components/map/MapComponent.tsx | 38 +++++++++++-------- .../src/components/map/TabsPane/TabsPane.tsx | 6 ++- 2 files changed, 26 insertions(+), 18 deletions(-) diff --git a/client/src/components/map/MapComponent.tsx b/client/src/components/map/MapComponent.tsx index b602eb4..b4ebaef 100644 --- a/client/src/components/map/MapComponent.tsx +++ b/client/src/components/map/MapComponent.tsx @@ -255,7 +255,7 @@ const MapComponent = ({ feature.setStyle(highlightStyleRed) const geometry = feature.getGeometry() - + if (geometry) { map?.getView().fit(geometry as SimpleGeometry, { duration: 500, maxZoom: 18 }) } @@ -846,22 +846,28 @@ const MapComponent = ({
{selectedRegion && selectedDistrict && selectedYear && -
- - - -
+ //
+ // + // + // + //
+ "" } + + + + + {!!selectedRegion && !!selectedDistrict && !!selectedYear &&