Compare commits
1
Commits
v2.2.3-lofyer
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63fb8c69b6 |
@@ -163,7 +163,11 @@ const PoolRows: React.FC<PoolRowsProps> = ({
|
|||||||
key={col.dataIndex || col.key}
|
key={col.dataIndex || col.key}
|
||||||
span={spanFor(col.dataIndex)}
|
span={spanFor(col.dataIndex)}
|
||||||
style={{
|
style={{
|
||||||
color: 'var(--ant-color-text-secondary)'
|
color: 'var(--ant-color-text-secondary)',
|
||||||
|
// CellContent shrinks to its content inside the flex
|
||||||
|
// cell, so its own align class can't center it —
|
||||||
|
// center at the cell level instead.
|
||||||
|
justifyContent: col.align
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<CellContent
|
<CellContent
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ const usePoolsColumns = (
|
|||||||
dataIndex: 'replicas',
|
dataIndex: 'replicas',
|
||||||
span: 6,
|
span: 6,
|
||||||
key: 'replicas',
|
key: 'replicas',
|
||||||
|
align: 'center',
|
||||||
editable: {
|
editable: {
|
||||||
valueType: 'number',
|
valueType: 'number',
|
||||||
title: intl.formatMessage({ id: 'models.table.replicas.edit' })
|
title: intl.formatMessage({ id: 'models.table.replicas.edit' })
|
||||||
|
|||||||
Reference in New Issue
Block a user