Prechádzať zdrojové kódy

style: 取消el-dialog全局最高高度限制

bxy 9 mesiacov pred
rodič
commit
e311ec42f6

+ 0 - 2
src/styles/common.scss

@@ -52,8 +52,6 @@
 
 .el-dialog {
   min-height: 500px;
-  max-height: 60vh;
-  overflow-y: auto;
   .el-dialog__title {
     color: rgba(0, 0, 0, 0.88);
     font-weight: 600;

+ 3 - 1
src/styles/custom-component.scss

@@ -21,9 +21,11 @@
 }
 
 .basic-dialog--custom {
+  height: 500px;
+  max-height: 60vh;
+  overflow-y: auto;
   display: flex;
   flex-direction: column;
-  height: 500px;
   .el-dialog__body {
     flex: 1;
   }