Skip to content

Commit

Permalink
Fix bug preventing map interactions near two controls in the same cor…
Browse files Browse the repository at this point in the history
…ner (#2932)

* Fixed issue #2924

* fixed issue #2924
  • Loading branch information
yunluyl authored and Lucas Wojciechowski committed Aug 2, 2016
1 parent f6f3d11 commit 3a859f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/mapbox-gl.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
.mapboxgl-ctrl-top-left,
.mapboxgl-ctrl-top-right,
.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right { position:absolute; }
.mapboxgl-ctrl-bottom-right { position:absolute; pointer-events:none; z-index:2; }
.mapboxgl-ctrl-top-left { top:0; left:0; }
.mapboxgl-ctrl-top-right { top:0; right:0; }
.mapboxgl-ctrl-bottom-left { bottom:0; left:0; }
.mapboxgl-ctrl-bottom-right { right:0; bottom:0; }

.mapboxgl-ctrl { clear:both; }
.mapboxgl-ctrl { clear:both; pointer-events:auto }
.mapboxgl-ctrl-top-left .mapboxgl-ctrl { margin:10px 0 0 10px; float:left; }
.mapboxgl-ctrl-top-right .mapboxgl-ctrl{ margin:10px 10px 0 0; float:right; }
.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl { margin:0 0 10px 10px; float:left; }
Expand Down

0 comments on commit 3a859f3

Please sign in to comment.