From 38947b6cd8caccf74770845f1dd428e2849490dd Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 4 Jan 2023 13:04:58 +0100 Subject: [PATCH] remove no longer needed hint replaced by notice in the sidebar --- app/src/frontend/map/map.css | 13 ------------- app/src/frontend/map/map.tsx | 6 ------ 2 files changed, 19 deletions(-) diff --git a/app/src/frontend/map/map.css b/app/src/frontend/map/map.css index 00a265a3..95466458 100644 --- a/app/src/frontend/map/map.css +++ b/app/src/frontend/map/map.css @@ -28,19 +28,6 @@ .leaflet-grab { cursor: crosshair; } -.map-notice { - position: absolute; - top: 3.5rem; - left: 0.5rem; - z-index: 1000; - padding: 0.5rem 0.75rem; - width: 250px; - background: #fff; - border: 1px solid #fff; - border-radius: 4px; - box-shadow: 0px 0px 1px 1px #222; - display: none; -} @media (min-width: 990px){ /* Only show the "Click a building ..." notice for larger screens */ .map-notice { diff --git a/app/src/frontend/map/map.tsx b/app/src/frontend/map/map.tsx index 80261c67..9b96e426 100644 --- a/app/src/frontend/map/map.tsx +++ b/app/src/frontend/map/map.tsx @@ -165,12 +165,6 @@ export const ColouringMap : FC = ({ { mode !== 'basic' && <> - { - !hasSelection && -
- {isEdit ? 'Click a building to edit' : 'Click a building for details'} -
- }