We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db13a21 commit 825a8f1Copy full SHA for 825a8f1
src/mapml.css
@@ -138,7 +138,6 @@
138
border: none;
139
margin: 0;
140
padding: 0;
141
- cursor: grab;
142
}
143
144
.leaflet-control-layers-overlays > fieldset > .mapml-control-layers > summary,
@@ -279,6 +278,12 @@
279
278
* User interaction.
280
*/
281
+/* Disable dragging of controls. */
282
+.leaflet-control :not([draggable="true"]),
283
+.mapml-contextmenu :not([draggable="true"]) {
284
+ -webkit-user-drag: none;
285
+}
286
+
287
/* Disable text selection in controls. */
288
.leaflet-control,
289
.mapml-contextmenu,
0 commit comments