fix(frontend): 修复百分比表格列宽与单元格居中

This commit is contained in:
yml2213
2026-10-24 15:13:05 +08:00
parent ce8efa6bad
commit 8991263d25
3 changed files with 45 additions and 7 deletions
+16
View File
@@ -8,3 +8,19 @@
.ant-table-wrapper .ant-table-tbody > tr > td {
text-align: center !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;
}