fix(frontend): 修复百分比表格列宽与单元格居中
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user