File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
src/components/ControlPlanes Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1+ .card {
2+ margin : 12px 12px 12px 0 ;
3+ }
4+
5+ .container {
6+ padding : 20px ;
7+ }
8+
9+ .row {
10+ paddingTop : 20px ;
11+ }
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import {
2020} from '../../lib/api/types/crate/deleteMCP.ts' ;
2121import { DeleteConfirmationDialog } from '../Dialogs/DeleteConfirmationDialog.tsx' ;
2222import MCPHealthPopoverButton from '../ControlPlane/MCPHealthPopoverButton.tsx' ;
23+ import classes from './ControlPlaneCard.module.css' ;
2324
2425interface Props {
2526 controlPlane : ListControlPlanesType ;
@@ -52,11 +53,8 @@ export function ControlPlaneCard({
5253
5354 return (
5455 < >
55- < Card
56- key = { `${ name } --${ namespace } ` }
57- style = { { margin : '12px 12px 12px 0' } }
58- >
59- < div style = { { padding : '20px' } } >
56+ < Card key = { `${ name } --${ namespace } ` } className = { classes . card } >
57+ < div className = { classes . container } >
6058 < FlexBox direction = "Column" >
6159 < FlexBox direction = "Row" justifyContent = "SpaceBetween" >
6260 < FlexBox direction = "Column" >
@@ -80,7 +78,7 @@ export function ControlPlaneCard({
8078 direction = "Row"
8179 justifyContent = "SpaceBetween"
8280 alignItems = "Center"
83- style = { { paddingTop : '20px' } }
81+ className = { classes . row }
8482 >
8583 < MCPHealthPopoverButton mcpStatus = { controlPlane . status } />
8684 < ConnectButton
You can’t perform that action at this time.
0 commit comments