Skip to content

Commit 825a8f1

Browse files
committed
Revert css control style removal
1 parent db13a21 commit 825a8f1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/mapml.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@
138138
border: none;
139139
margin: 0;
140140
padding: 0;
141-
cursor: grab;
142141
}
143142

144143
.leaflet-control-layers-overlays > fieldset > .mapml-control-layers > summary,
@@ -279,6 +278,12 @@
279278
* User interaction.
280279
*/
281280

281+
/* Disable dragging of controls. */
282+
.leaflet-control :not([draggable="true"]),
283+
.mapml-contextmenu :not([draggable="true"]) {
284+
-webkit-user-drag: none;
285+
}
286+
282287
/* Disable text selection in controls. */
283288
.leaflet-control,
284289
.mapml-contextmenu,

0 commit comments

Comments
 (0)