fix(center-table): size fixed actions responsively

This commit is contained in:
zhanjunhao
2026-11-16 23:01:35 +08:00
parent 93128a77d3
commit 931c4dec66
25 changed files with 590 additions and 41 deletions
+50
View File
@@ -0,0 +1,50 @@
.center-action-table {
min-width: 0;
max-width: 100%;
}
.center-action-table .ant-table-tbody > tr > .center-fixed-cell {
z-index: 2;
background: var(--center-table-bg);
background-clip: padding-box;
}
.center-action-table .ant-table-thead > tr > .center-fixed-cell {
z-index: 3;
background: var(--ur-head-bg, var(--center-table-head-bg));
background-clip: padding-box;
}
.center-action-table .ant-table-tbody > tr:hover > .center-fixed-cell {
background: var(--center-table-hover-bg);
}
.center-action-table
.ant-table-tbody
> tr.ant-table-row-selected
> .center-fixed-cell {
background: var(--center-table-selected-bg);
}
.center-action-table .center-fixed-cell {
white-space: normal;
overflow-wrap: anywhere;
}
.center-action-table .center-action-cell {
white-space: nowrap;
}
.center-action-table
.center-action-cell
:where(
.ant-space,
.ant-flex,
.flex,
.km-actions,
.oc-row-actions,
.org-row-actions
) {
flex-wrap: nowrap;
max-width: none;
}