From 3469c7b30367ca494624e9136a37dbdf1a3813c0 Mon Sep 17 00:00:00 2001 From: Aditya Patel Date: Tue, 2 Jun 2026 11:34:19 -0400 Subject: [PATCH] Align flexible form fields in grid layout --- .../src/components/FlexibleForm/FieldRow.tsx | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/airflow-core/src/airflow/ui/src/components/FlexibleForm/FieldRow.tsx b/airflow-core/src/airflow/ui/src/components/FlexibleForm/FieldRow.tsx index 4dc59a471e8f6..4d69063bc9e4f 100644 --- a/airflow-core/src/airflow/ui/src/components/FlexibleForm/FieldRow.tsx +++ b/airflow-core/src/airflow/ui/src/components/FlexibleForm/FieldRow.tsx @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -import { Field, Stack } from "@chakra-ui/react"; +import { Field, Grid, Stack } from "@chakra-ui/react"; import { useState } from "react"; import { useTranslation } from "react-i18next"; @@ -58,25 +58,25 @@ export const FieldRow = ({ }; return ( - - - + + + {param.schema.title ?? name} - - - - {param.description === null ? ( - param.schema.description_md === undefined ? undefined : ( - - {param.schema.description_md} - - ) - ) : ( - {param.description} - )} - {isValid ? undefined : {String(error)}} - + + + {param.description === null ? ( + param.schema.description_md === undefined ? undefined : ( + + {param.schema.description_md} + + ) + ) : ( + {param.description} + )} + {isValid ? undefined : {String(error)}} + + ); };