dialog.less 506 B

1234567891011121314151617181920212223
  1. .cip-dialog__wrapper{
  2. &.el-dialog{
  3. .el-dialog__header{
  4. border-bottom: 1px solid #ddd;
  5. }
  6. .el-dialog__body{
  7. max-height: 60vh;
  8. overflow-y: auto;
  9. overflow-x: hidden;
  10. padding-bottom: 12px;
  11. }
  12. .el-dialog__footer{
  13. border-top: 1px solid #ddd;
  14. }
  15. }
  16. &.is-fullscreen.el-dialog{
  17. .el-dialog__body{
  18. box-sizing: border-box;
  19. height: calc(100% - 55px - 63px);
  20. max-height: calc(100% - 55px - 63px); // header 55px footer 63px
  21. }
  22. }
  23. }