remove no longer needed hint
replaced by notice in the sidebar
This commit is contained in:
parent
df1da50a4a
commit
38947b6cd8
@ -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 {
|
||||||
|
@ -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} />
|
||||||
|
Loading…
Reference in New Issue
Block a user