style(cluster-management): child-row text color and created_at width
This commit is contained in:
@@ -162,6 +162,9 @@ const PoolRows: React.FC<PoolRowsProps> = ({
|
|||||||
<ExpandedRowGrid.Cell
|
<ExpandedRowGrid.Cell
|
||||||
key={col.dataIndex || col.key}
|
key={col.dataIndex || col.key}
|
||||||
span={spanFor(col.dataIndex)}
|
span={spanFor(col.dataIndex)}
|
||||||
|
style={{
|
||||||
|
color: 'var(--ant-color-text-secondary)'
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<CellContent
|
<CellContent
|
||||||
{..._.omit(col, ['key', 'style', 'span'])}
|
{..._.omit(col, ['key', 'style', 'span'])}
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ const useClusterColumns = (
|
|||||||
title: intl.formatMessage({ id: 'common.table.createTime' }),
|
title: intl.formatMessage({ id: 'common.table.createTime' }),
|
||||||
dataIndex: 'created_at',
|
dataIndex: 'created_at',
|
||||||
sorter: tableSorter(6),
|
sorter: tableSorter(6),
|
||||||
span: spans.createTime,
|
width: 180,
|
||||||
render: (value: string) => (
|
render: (value: string) => (
|
||||||
<AutoTooltip ghost minWidth={20}>
|
<AutoTooltip ghost minWidth={20}>
|
||||||
{dayjs(value).format('YYYY-MM-DD HH:mm:ss')}
|
{dayjs(value).format('YYYY-MM-DD HH:mm:ss')}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ const usePoolsColumns = (
|
|||||||
span: 3,
|
span: 3,
|
||||||
render: (text: string) => (
|
render: (text: string) => (
|
||||||
<AutoTooltip title={text} ghost minWidth={20}>
|
<AutoTooltip title={text} ghost minWidth={20}>
|
||||||
{text}
|
<span className="text-primary">{text}</span>
|
||||||
</AutoTooltip>
|
</AutoTooltip>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user