.datapreview {
    overflow: hidden;
    padding: 0;
    top: 10%;

    .ant-modal-content {
        max-height: 100%;
        height: 100%;
        padding-top: 40px;
        overflow: hidden;
        
        .ant-modal-close {
            .ant-modal-close-x {
                width: 40px;
                height: 40px;
                line-height: 40px;
            }
        }
        .ant-modal-body {
            height: 100%;
            padding: 0px 10px;

            .ant-table-wrapper {
                height: 100%;

                .ant-spin-nested-loading {
                    height: 100%;

                    .ant-spin-container {
                        height: 100%;
                        padding-bottom: 40px;

                        .ant-table {
                            height: 100%;
                            overflow: hidden;

                            .ant-table-content {
                                height: 100%;

                                .ant-table-scroll {
                                    height: 100%;
                                    
                                    .ant-table-body {
                                        height: calc(~"100% - 38px");
                                    }
                                }
                            }
                        }
                        .ant-pagination {
                            margin: 8px 0;
                        }
                    }
                }
            }
        }
    }
}