diff --git a/app/pages/project/vpcs/VpcPage/tabs/VpcSubnetsTab.tsx b/app/pages/project/vpcs/VpcPage/tabs/VpcSubnetsTab.tsx index dc25525876..6c121c3479 100644 --- a/app/pages/project/vpcs/VpcPage/tabs/VpcSubnetsTab.tsx +++ b/app/pages/project/vpcs/VpcPage/tabs/VpcSubnetsTab.tsx @@ -81,7 +81,7 @@ export const VpcSubnetsTab = () => { {creating && setCreating(false)} />} {editing && setEditing(null)} />} - +
) } diff --git a/app/pages/system/inventory/sled/SledInstancesTab.tsx b/app/pages/system/inventory/sled/SledInstancesTab.tsx index 29ff8eb0dc..4af4856f1c 100644 --- a/app/pages/system/inventory/sled/SledInstancesTab.tsx +++ b/app/pages/system/inventory/sled/SledInstancesTab.tsx @@ -78,5 +78,5 @@ export function SledInstancesTab() { const columns = useColsWithActions(staticCols, makeActions) - return
} /> + return
} rowHeight="large" /> } diff --git a/app/ui/lib/Table.tsx b/app/ui/lib/Table.tsx index 92c7ee114b..4b72af648d 100644 --- a/app/ui/lib/Table.tsx +++ b/app/ui/lib/Table.tsx @@ -92,28 +92,24 @@ Table.Body = ({ className, children, ...props }: TableBodyProps) => { } export type TableCellProps = JSX.IntrinsicElements['td'] & { height?: 'small' | 'large' } -Table.Cell = ({ height = 'small', className, children, ...props }: TableCellProps) => { - const heightClasses = { 'h-12': height === 'small', 'h-16': height === 'large' } - return ( - - ) -} + {children} + + +) /** * Used _outside_ of the `Table`, this element wraps buttons that sit on top
( + +
-
- {children} -
-