/* 全项目表格统一规范:宽度百分比自适应,首列左对齐,其余表头与内容居中。 */ .ant-table-wrapper .ant-table { width: 100%; table-layout: fixed; } .ant-table-wrapper .ant-table-thead > tr > th, .ant-table-wrapper .ant-table-tbody > tr > td { text-align: center !important; } .ant-table-wrapper .ant-table-thead > tr > th.percent-table-first-column, .ant-table-wrapper .ant-table-tbody > tr > td.percent-table-first-column { text-align: left !important; } .ant-table-wrapper .ant-table-tbody > tr > td .cell-stack { width: 100%; justify-items: center; text-align: center; } .ant-table-wrapper .ant-table-tbody > tr > td .cell-stack > * { max-width: 100%; justify-self: center; text-align: center; } .ant-table-wrapper .ant-table-tbody > tr > td .cell-stack > .ant-space { justify-content: center; } .ant-table-wrapper .ant-table-tbody > tr > td.percent-table-first-column .cell-stack { justify-items: start; text-align: left; } .ant-table-wrapper .ant-table-tbody > tr > td.percent-table-first-column .cell-stack > * { justify-self: start; text-align: left; } .ant-table-wrapper .ant-table-tbody > tr > td.percent-table-first-column .cell-stack > .ant-space { justify-content: flex-start; }