html, body, #root { width: 100%; height: 100%; } #root { display: flex; flex-direction: column; } .content-layout { margin: 24px; padding: 0 24px; background: #fff; } .content-header { padding: 24px 0; display: flex; justify-content: flex-end; } .content-header-search { margin-left: 20px; } .ant-table-tbody > tr > td { word-break: break-all; } .ant-table-tbody > tr > td:first-child, .ant-table-thead > tr > th:first-child { text-align: left; } .ant-table-tbody > tr > td, .ant-table-thead > tr > th { text-align: center; } .disabled { opacity: .3; pointer-events: none !important; } .cell { padding: 0 !important; line-height: 20px !important; .value-viewer-content { padding: 0 !important; font-size: 12px; overflow: hidden; white-space: normal; line-height: 24px; } &:nth-child(1) { flex: 0 0 90px !important; } &:nth-child(2) { flex: 0 0 170px !important; } } .data-grid-container .body-container { height: auto !important; .value-viewer-content { padding: 0 !important; font-size: 12px; overflow: hidden; white-space: normal; line-height: 24px; } } .icon { cursor: pointer; transition: color .3s ease; &:hover { color: #26559B; } }