fix(style): cluster detail
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user