|
@@ -51,14 +51,35 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// to fixed https://github.com/ElemeFE/element/issues/2461
|
|
|
-.el-dialog {
|
|
|
- transform: none;
|
|
|
- left: 0;
|
|
|
- position: relative;
|
|
|
- margin: 0 auto;
|
|
|
+/*-------------Dialog-------------**/
|
|
|
+.el-overlay {
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ .el-overlay-dialog {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+
|
|
|
+ .el-dialog {
|
|
|
+ margin: 0 auto !important;
|
|
|
+
|
|
|
+ .el-dialog__body {
|
|
|
+ padding: 15px !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+.el-dialog__body {
|
|
|
+ max-height: calc(90vh - 111px) !important;
|
|
|
+ overflow-y: auto;
|
|
|
+ overflow-x: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// refine element ui upload
|
|
|
.upload-container {
|
|
|
.el-upload {
|