.el-dialog {
  border 2px solid var(--el-border-color-light) !important
}

.el-dialog__body {
  padding: 25px 0 !important;
  position: relative; // 为了兼容 el-pagination 样式，需要设置 relative，不然会影响 el-pagination 的样式，比如 el-pagination__jump--small 会被影响，导致 el-pagination__jump--small 按钮无法点击，详见 URL_ADDRESS.com/element-plus/element-plus/issues/5684#issuecomment-1176299275;
}


.el-modal-dialog {
  height 100% !important
  box-sizing border-box !important

  .el-overlay-dialog {
    height 100% !important
    overflow: hidden !important
    display: flex !important
    justify-content: center !important
    align-items: center !important
    box-sizing border-box !important
    width 100% !important;
  }

  .el-dialog {
    max-height 100% !important
    max-width 100% !important;
    margin 0 !important
    box-sizing border-box !important
    overflow: hidden;
  }

  .draggable-dialog > .el-dialog__header > .el-dialog__title {
    cursor move !important
    display block
    width 100%
    text-align: start;
  }


  .draggable-dialog > .el-dialog__header {
    border-bottom: 1px solid var(--el-border-color-light);
  }

  .draggable-dialog > .el-dialog__footer {
    border-top: 1px solid var(--el-border-color-light);
  }

  .el-dialog__body {
    height calc(100% - 88px) !important
    box-sizing border-box !important

    & > .el-scrollbar > .el-scrollbar__wrap {
      max-height 850px
      height unset
    }
  }
}
