fix(ui): 修复固定列表头并优化官网指标配置
This commit is contained in:
@@ -3,30 +3,34 @@
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.center-action-table .ant-table-tbody > tr > .center-fixed-cell {
|
||||
z-index: 2;
|
||||
.center-action-table .ant-table-tbody > tr > .ant-table-cell-fix {
|
||||
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));
|
||||
.center-action-table .ant-table-thead > tr > .ant-table-cell {
|
||||
/* Composite the header tint over an opaque surface, including sticky cells. */
|
||||
background-color: var(--center-table-bg);
|
||||
background-image: linear-gradient(
|
||||
var(--center-table-head-bg),
|
||||
var(--center-table-head-bg)
|
||||
);
|
||||
background-clip: padding-box;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.center-action-table .ant-table-tbody > tr:hover > .center-fixed-cell {
|
||||
.center-action-table .ant-table-tbody > tr:hover > .ant-table-cell-fix {
|
||||
background: var(--center-table-hover-bg);
|
||||
}
|
||||
|
||||
.center-action-table
|
||||
.ant-table-tbody
|
||||
> tr.ant-table-row-selected
|
||||
> .center-fixed-cell {
|
||||
> .ant-table-cell-fix {
|
||||
background: var(--center-table-selected-bg);
|
||||
}
|
||||
|
||||
.center-action-table .center-fixed-cell {
|
||||
.center-action-table .ant-table-tbody > tr > .center-fixed-cell {
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
@@ -50,6 +54,6 @@
|
||||
.admin-tokens-row-actions,
|
||||
.website-insights-row-actions
|
||||
) {
|
||||
flex-wrap: nowrap;
|
||||
max-width: none;
|
||||
flex-wrap: wrap;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user