Skip to content

Commit

Permalink
style(deploy-web): fix deployment list styling
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 committed May 15, 2024
1 parent afb1566 commit b2cbf12
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions deploy-web/src/components/deployments/DeploymentListRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,16 @@ export const DeploymentListRow: React.FunctionComponent<Props> = ({ deployment,
return (
<>
<TableRow className="cursor-pointer hover:bg-muted-foreground/10 [&>td]:p-2" onClick={() => viewDeployment()}>
<TableCell className="text-center">
<SpecDetailList
cpuAmount={deployment.cpuAmount}
gpuAmount={deployment.gpuAmount}
memoryAmount={deployment.memoryAmount}
storageAmount={deployment.storageAmount}
isActive={isActive}
/>
<TableCell>
<div className="flex items-center justify-center">
<SpecDetailList
cpuAmount={deployment.cpuAmount}
gpuAmount={deployment.gpuAmount}
memoryAmount={deployment.memoryAmount}
storageAmount={deployment.storageAmount}
isActive={isActive}
/>
</div>
</TableCell>
<TableCell className="max-w-[100px] text-center">{deploymentName}</TableCell>
<TableCell className="text-center">
Expand Down

0 comments on commit b2cbf12

Please sign in to comment.