@import "~antd/lib/style/themes/default.less"; @import "../../../utils/utils.less"; .table { :global { .ant-table-tbody > tr > td, .ant-table-thead > tr > th { &:nth-child(1) { width: 15%; } &:nth-child(2) { width: 20%; } &:nth-child(3) { width: 20%; } &:nth-child(4) { width: 20%; } &:nth-child(5) { width: 15%; } &:nth-child(6) { width: 10%; } } .ant-table-thead { & > tr { transition: none; display: block; & > th { display: inline-flex; align-items: left; justify-content: left; } } } .ant-table-tbody { & > tr { transition: none; display: block; border-bottom: 1px solid #f5f5f5; & > td { border-bottom: none; display: inline-flex; align-items: left; justify-content: left; } &.ant-table-expanded-row-level-1 > td { height: auto; } } } } }