Jelajahi Sumber

fix(duty): keep date picker visible in duty dialog

apple 9 jam lalu
induk
melakukan
ff458ff05b
1 mengubah file dengan 9 tambahan dan 1 penghapusan
  1. 9 1
      web/page/biz/xyttZb_inp.ss.jsp

+ 9 - 1
web/page/biz/xyttZb_inp.ss.jsp

@@ -10,7 +10,15 @@
 			style.textContent = [
 			style.textContent = [
 				".ss-date-picker.xytt-zb-date .el-input__prefix { display: none !important; }",
 				".ss-date-picker.xytt-zb-date .el-input__prefix { display: none !important; }",
 				"html, body { overflow: visible !important; }",
 				"html, body { overflow: visible !important; }",
-				".el-picker__popper { z-index: 5000 !important; }"
+				".el-picker__popper {",
+				"  position: fixed !important;",
+				"  top: 12px !important;",
+				"  left: 50% !important;",
+				"  right: auto !important;",
+				"  bottom: auto !important;",
+				"  transform: translateX(-50%) !important;",
+				"  z-index: 5000 !important;",
+				"}"
 			].join("\n");
 			].join("\n");
 			document.head.appendChild(style);
 			document.head.appendChild(style);
 		})();
 		})();