记录一下
直接上代码
.el-dialog {
position: relative;
margin: 0 auto 0px;
background: #FFFFFF;
border-radius: 2px;
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 50%;
height: 60%;
}
.el-dialog__body {
border-top: 1px solid #dcdfe6;
border-bottom: 1px solid #dcdfe6;
max-height:85% !important;
min-height: 70%;
overflow-y: auto;
}