fix(style): cluster detail

This commit is contained in:
jialin
2026-06-05 22:18:26 +08:00
committed by jialin
parent b19db0f67d
commit 76618aa3a1
6 changed files with 38 additions and 16 deletions
@@ -62,13 +62,15 @@ const ClusterDetailModal = () => {
key: 'workers',
label: `Workers`,
icon: <IconFont type="icon-resources" />,
children: <WorkerList clusterId={Number(id)} />
children: (
<WorkerList clusterId={Number(id)} source="clusterDetail" />
)
},
{
key: 'gpus',
label: `GPUs`,
icon: <IconFont type="icon-gpu1" />,
children: <GPUList clusterId={Number(id)} />
children: <GPUList clusterId={Number(id)} source="clusterDetail" />
},
...extraTabs
]}
@@ -19,7 +19,7 @@ const Container = styled.div`
height: 168px;
.left {
padding: 16px 24px;
width: 160px;
width: 124px;
display: flex;
flex-direction: column;
align-items: center;
@@ -15,7 +15,7 @@ const Container = styled.div`
align-items: center;
justify-content: space-between;
font-size: 14px;
font-weight: 500;
font-weight: 400;
color: var(--ant-color-text-tertiary);
}