2
0
Эх сурвалжийг харах

Fixed #32138 -- Prevented admin's map from covering other widgets.

dokgeppo 4 жил өмнө
parent
commit
6014fd89b3

+ 1 - 1
django/contrib/gis/templates/gis/admin/openlayers.html

@@ -3,7 +3,7 @@
 <style type="text/css">
   #{{ id }}_map { width: {{ map_width }}px; height: {{ map_height }}px; }
   #{{ id }}_map .aligned label { float:inherit; }
-  #{{ id }}_admin_map { position: relative; vertical-align: top; float: {{ LANGUAGE_BIDI|yesno:"right,left" }}; }
+  #{{ id }}_admin_map { position: relative; vertical-align: top; z-index: 0; float: {{ LANGUAGE_BIDI|yesno:"right,left" }}; }
   {% if not display_wkt %}#{{ id }} { display: none; }{% endif %}
   .olControlEditingToolbar .olControlModifyFeatureItemActive {
      background-image: url("{% static "admin/img/gis/move_vertex_on.svg" %}");