remove no longer needed hint

replaced by notice in the sidebar
This commit is contained in:
Mateusz Konieczny 2023-01-04 13:04:58 +01:00
parent df1da50a4a
commit 38947b6cd8
2 changed files with 0 additions and 19 deletions

View File

@ -28,19 +28,6 @@
.leaflet-grab { .leaflet-grab {
cursor: crosshair; 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){ @media (min-width: 990px){
/* Only show the "Click a building ..." notice for larger screens */ /* Only show the "Click a building ..." notice for larger screens */
.map-notice { .map-notice {

View File

@ -165,12 +165,6 @@ export const ColouringMap : FC<ColouringMapProps> = ({
{ {
mode !== 'basic' && mode !== 'basic' &&
<> <>
{
!hasSelection &&
<div className="map-notice">
<HelpIcon /> {isEdit ? 'Click a building to edit' : 'Click a building for details'}
</div>
}
<Legend mapColourScaleDefinitions={categoryMapDefinitions} mapColourScale={mapColourScale} onMapColourScale={onMapColourScale}/> <Legend mapColourScaleDefinitions={categoryMapDefinitions} mapColourScale={mapColourScale} onMapColourScale={onMapColourScale}/>
<ThemeSwitcher onSubmit={darkLightThemeSwitch} currentTheme={darkLightTheme} /> <ThemeSwitcher onSubmit={darkLightThemeSwitch} currentTheme={darkLightTheme} />
<DataLayerSwitcher onSubmit={layerSwitch} currentDisplay={dataLayers} /> <DataLayerSwitcher onSubmit={layerSwitch} currentDisplay={dataLayers} />