ソースを参照

去除公共模态框滚动条

yangc 8 年 前
コミット
896ec05880

+ 0 - 6
src/main/webapp/resources/css/common.css

@@ -951,12 +951,6 @@ input::-webkit-input-safebox-button{
 /*去除textarea默认右下角可自由放大样式*/
 textarea{resize:none}
 
-.modal-content {
-	overflow-y: auto;
-	max-height: 520px;
-	overflow-x: hidden;
-	height: auto !important;
-}
 .form-control:focus {
 	border: 1px solid #4272d3;
 	-webkit-box-shadow: none;

+ 6 - 0
src/main/webapp/resources/view/prod/modal/edit-invoice-modal.html

@@ -607,6 +607,12 @@
     .modal-lg {
         width: 914px;
     }
+    .modal-content {
+        overflow-y: auto;
+        max-height: 520px;
+        overflow-x: hidden;
+        height: auto !important;
+    }
 </style>
 
 <div id="bill-info">