diff --git a/packages/ui/v2/core/form/FormCard.tsx b/packages/ui/v2/core/form/FormCard.tsx index 630e695ea3..3dcb774cc1 100644 --- a/packages/ui/v2/core/form/FormCard.tsx +++ b/packages/ui/v2/core/form/FormCard.tsx @@ -20,7 +20,10 @@ export default function FormCard({ moveDown?: Action | null; className?: string; } & JSX.IntrinsicElements["div"]) { - className = classNames(className, "group relative w-full rounded-md p-4 border border-gray-200"); + className = classNames( + className, + "flex items-center group relative w-full rounded-md p-4 border border-gray-200" + ); return (
@@ -28,7 +31,7 @@ export default function FormCard({ {moveUp?.check() ? ( @@ -36,27 +39,29 @@ export default function FormCard({ {moveDown?.check() ? ( ) : null}
-
- {label} - {deleteField?.check() ? ( - - ) : null} +
+
+ {label} + {deleteField?.check() ? ( + + ) : null} +
+ + {children}
- - {children}
); }