Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/components/ControlPlanes/ControlPlaneCard.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.card {
margin: 12px 12px 12px 0;
}

.container {
padding: 20px;
}

.row {
paddingTop: 20px;
}
10 changes: 4 additions & 6 deletions src/components/ControlPlanes/ControlPlaneCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
} from '../../lib/api/types/crate/deleteMCP.ts';
import { DeleteConfirmationDialog } from '../Dialogs/DeleteConfirmationDialog.tsx';
import MCPHealthPopoverButton from '../ControlPlane/MCPHealthPopoverButton.tsx';
import classes from './ControlPlaneCard.module.css';

interface Props {
controlPlane: ListControlPlanesType;
Expand Down Expand Up @@ -52,11 +53,8 @@ export function ControlPlaneCard({

return (
<>
<Card
key={`${name}--${namespace}`}
style={{ margin: '12px 12px 12px 0' }}
>
<div style={{ padding: '20px' }}>
<Card key={`${name}--${namespace}`} className={classes.card}>
<div className={classes.container}>
<FlexBox direction="Column">
<FlexBox direction="Row" justifyContent="SpaceBetween">
<FlexBox direction="Column">
Expand All @@ -80,7 +78,7 @@ export function ControlPlaneCard({
direction="Row"
justifyContent="SpaceBetween"
alignItems="Center"
style={{ paddingTop: '20px' }}
className={classes.row}
>
<MCPHealthPopoverButton mcpStatus={controlPlane.status} />
<ConnectButton
Expand Down