fix(style): cluster options

This commit is contained in:
jialin
2025-12-24 20:52:48 +08:00
parent 84c2bf130c
commit 73b987358f
+8 -2
View File
@@ -25,8 +25,7 @@ const ClusterOption = styled.span`
display: flex;
padding: 8px 0;
width: 100%;
justify-content: space-between;
align-items: center;
flex-direction: column;
border-bottom: 1px solid var(--ant-color-split);
gap: 8px;
.label {
@@ -57,6 +56,12 @@ const ClusterOption = styled.span`
font-weight: 400;
gap: 12px;
}
.s-dot {
width: 4px;
height: 4px;
background-color: var(--ant-color-text-quaternary);
border-radius: 50%;
}
`;
interface BasicFormProps {
@@ -129,6 +134,7 @@ const BasicForm: React.FC<BasicFormProps> = (props) => {
{data.ready_workers} / {data.workers}
</span>
</span>
<span className="s-dot"></span>
<span className="flex-center gap-4 text-tertiary">
<span>GPUs:</span>
<span>{data.gpus}</span>