@raruto/leaflet-elevation 1.8.4 → 1.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -258,7 +258,7 @@ _Related: [Leaflet-UI presets](https://github.com/raruto/leaflet-ui), [QGIS Inte
258
258
  **Compatibile with:**
259
259
  [![Leaflet 1.x compatible!](https://img.shields.io/badge/Leaflet-1.6.0-1EB300.svg?style=flat)](http://leafletjs.com/reference.html)
260
260
  [![d3.js v6 compatibile!](https://img.shields.io/badge/d3.js-6.5-1EB300.svg?style=flat)](https://www.npmjs.com/package/d3)
261
- [![@tmcw/togeojson v4.3.0 compatibile!](https://img.shields.io/badge/@tmcw/togeojson-4.3-1EB300.svg?style=flat)](https://www.npmjs.com/package/@tmcw/togeojson)
261
+ [![@tmcw/togeojson v4.5.0 compatibile!](https://img.shields.io/badge/@tmcw/togeojson-4.5-1EB300.svg?style=flat)](https://www.npmjs.com/package/@tmcw/togeojson)
262
262
 
263
263
 
264
264
  ---
@@ -211,7 +211,7 @@
211
211
  }
212
212
 
213
213
  .elevation-control.elevation.elevation-expanded .elevation-toggle-icon.close-button {
214
- background: transparent url(../images/remove.svg) no-repeat center center;
214
+ background: transparent;
215
215
  position: absolute;
216
216
  right: 5px;
217
217
  top: 5px;
@@ -219,6 +219,21 @@
219
219
  width: 20px;
220
220
  }
221
221
 
222
+ .elevation-control.elevation.elevation-expanded .elevation-toggle-icon.close-button:before {
223
+ content: '\2716';
224
+ display: inline-block;
225
+ color: #000;
226
+ position: absolute;
227
+ left: 0;
228
+ right: 0;
229
+ top: 0;
230
+ bottom: 0;
231
+ line-height: 20px;
232
+ text-align: center;
233
+ font-weight: bold;
234
+ font-size: 15px;
235
+ }
236
+
222
237
  .elevation-control.elevation g.area > foreignObject {
223
238
  pointer-events: none;
224
239
  }