style: gpu selector
This commit is contained in:
@@ -25,10 +25,7 @@ const Metric: React.FC<{ label: React.ReactNode; value: React.ReactNode }> = ({
|
|||||||
value
|
value
|
||||||
}) => (
|
}) => (
|
||||||
<span style={{ lineHeight: 1.2 }}>
|
<span style={{ lineHeight: 1.2 }}>
|
||||||
{label}:{' '}
|
{label}: <span>{value}</span>
|
||||||
<span className="font-500" style={{ color: 'var(--ant-color-text)' }}>
|
|
||||||
{value}
|
|
||||||
</span>
|
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -70,7 +67,7 @@ const GPUCard: React.FC<{
|
|||||||
}
|
}
|
||||||
description={
|
description={
|
||||||
info || (
|
info || (
|
||||||
<Flex wrap gap={8} style={{ fontSize: 13 }}>
|
<Flex wrap gap={8} style={{ fontSize: 11 }}>
|
||||||
<Metric
|
<Metric
|
||||||
label={intl.formatMessage({ id: 'resources.table.total' })}
|
label={intl.formatMessage({ id: 'resources.table.total' })}
|
||||||
value={convertFileSize(data?.memory?.total || 0)}
|
value={convertFileSize(data?.memory?.total || 0)}
|
||||||
|
|||||||
Reference in New Issue
Block a user