style(cluster-management): child-row text color and created_at width

This commit is contained in:
jialin
2026-07-16 18:00:27 +08:00
committed by jialin
parent 67e2d914f4
commit e30dd10fe4
3 changed files with 5 additions and 2 deletions
@@ -162,6 +162,9 @@ const PoolRows: React.FC<PoolRowsProps> = ({
<ExpandedRowGrid.Cell
key={col.dataIndex || col.key}
span={spanFor(col.dataIndex)}
style={{
color: 'var(--ant-color-text-secondary)'
}}
>
<CellContent
{..._.omit(col, ['key', 'style', 'span'])}
@@ -225,7 +225,7 @@ const useClusterColumns = (
title: intl.formatMessage({ id: 'common.table.createTime' }),
dataIndex: 'created_at',
sorter: tableSorter(6),
span: spans.createTime,
width: 180,
render: (value: string) => (
<AutoTooltip ghost minWidth={20}>
{dayjs(value).format('YYYY-MM-DD HH:mm:ss')}
@@ -45,7 +45,7 @@ const usePoolsColumns = (
span: 3,
render: (text: string) => (
<AutoTooltip title={text} ghost minWidth={20}>
{text}
<span className="text-primary">{text}</span>
</AutoTooltip>
)
},