src/modal/index.scss
$modal-max-height: 80vh;

.dtc-modal {
    &__draggable {
        top: 0;
        left: 0;
        margin: 0;
    }
    &__resizable {
        padding: 0;
    }
    // resizable 的时候会设置尺寸，所以不需要最大尺寸
    &:not(&__resizable) {
        .ant-modal-content {
            max-height: $modal-max-height;
        }
    }
    .ant-modal-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        .ant-modal-body {
            overflow: hidden;
            flex: 1;
            display: flex;
            flex-direction: column;
            .dtc-modal-body {
                flex: 1;
                padding: 16px 24px;
                overflow-y: auto;
                min-height: 0;
            }
            .dtc-modal-alert {
                border-radius: 6px;
                margin: 4px;
            }
        }
        .ant-modal-header,
        .ant-modal-footer {
            flex: 0 1 auto;
        }
    }
    .ant-modal-confirm-body {
        .dtstack-icon {
            float: left;
            margin-right: 8px;
            font-size: 20px;
        }
        .ant-modal-confirm-title {
            color: #3D446E;
            line-height: 20px;
            font-size: 14px;
        }
        .ant-modal-confirm-content {
            margin: 8px 0 16px 30px;
            color: #8B8FA8;
            line-height: 20px;
        }
    }
}
