소스 검색

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

dokgeppo 4 년 전
부모
커밋
6014fd89b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      django/contrib/gis/templates/gis/admin/openlayers.html

+ 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" %}");