/deep/ .el-dialog { display: flex; flex-direction: column; margin: 0 !important; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-height: calc(100% - 30px); max- calc(100% - 30px); .el-dialog__body { padding: 30px 25px; height: 800px; flex: 1; overflow: auto; } }