bujjibabukatta opened a new pull request, #68003:
URL: https://github.com/apache/airflow/pull/68003
## Summary
Fixes #67852
In the AF3 Trigger DAG modal, boolean toggle switches and other param
controls were not vertically aligned with their labels in the horizontal
two-column layout. When labels differed in length, controls appeared at
inconsistent heights, making the form harder to scan.
## Changes
**`FieldRow.tsx`**
- Added `columnGap={4}` to `Field.Root` to add breathing room between the
label and control columns
- Added `justifyContent="center"` to the control `Stack` so that `Switch`
toggles (and other controls) vertically center within their column cell
No changes to `FieldBool.tsx` or any other field component — the
misalignment was purely a layout issue in `FieldRow`.
## Testing
Tested with a DAG that has multiple boolean params of varying label lengths.
Toggles now share a consistent right-aligned column, matching the AF2 trigger
form behaviour described in the issue.
## Related
- Fixes #67852
- Related: #67851 (long param name overflow)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]