update 修改dialog弹窗在窗内滚动
This commit is contained in:
parent
2ede1095a3
commit
b88a09dd7f
@ -51,14 +51,35 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// to fixed https://github.com/ElemeFE/element/issues/2461
|
/*-------------Dialog-------------**/
|
||||||
.el-dialog {
|
.el-overlay {
|
||||||
transform: none;
|
overflow: hidden;
|
||||||
left: 0;
|
|
||||||
position: relative;
|
.el-overlay-dialog {
|
||||||
margin: 0 auto;
|
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
|
// refine element ui upload
|
||||||
.upload-container {
|
.upload-container {
|
||||||
.el-upload {
|
.el-upload {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user