Просмотр исходного кода

Merge branch 'dev-bxy-fix' into 'dev'

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

See merge request product-group-fe/sfy-safety-group/sfy-safety!127
毕欣怡 9 месяцев назад
Родитель
Сommit
c56a84310e
2 измененных файлов с 3 добавлено и 3 удалено
  1. 0 2
      src/styles/common.scss
  2. 3 1
      src/styles/custom-component.scss

+ 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;
   }