Browse Source

HUE-2370 [core] Modal close crosses are positioned wrongly in different browsers/modals

Enrico Berti 11 năm trước cách đây
mục cha
commit
1a9ad6f
1 tập tin đã thay đổi với 8 bổ sung2 xóa
  1. 8 2
      desktop/core/static/css/hue3.css

+ 8 - 2
desktop/core/static/css/hue3.css

@@ -1837,7 +1837,13 @@ input.no-margin, select.no-margin {
   font-weight: bold;
 }
 
+.modal-header .close {
+  position: inherit;
+  margin-top: -10px;
+}
+
 form.form-inline .modal-header .close {
-  top: 0px;
-  right: -11px;
+  margin-top: 0;
+  margin-right: -10px;
 }
+