From 4d173cbd380584ad534e3cacd46117f56e6e8fce Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 5 Aug 2026 16:59:48 -0600 Subject: [PATCH] ui: an input goes under its label, not beside it InputForm returned a fragment, so its label and its field arrived as two children of whatever contained them. In a grid that is two cells: on /videos/settings the "Video File Format" and "Extra yt-dlp Arguments" inputs sat in the column to the right of their own labels. The label is now block with the same 4px gap the migrated fields use (FieldLabel in Download.js), so an InputForm and a DestinationForm side by side start their inputs at the same height -- the Channel Name and Directory fields on the Channel edit page were off by the difference. Co-Authored-By: Claude Opus 5 (1M context) --- app/src/hooks/useForm.js | 13 +++++++++--- app/src/hooks/useForm.test.js | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 3 deletions(-) diff --git a/app/src/hooks/useForm.js b/app/src/hooks/useForm.js index 83c76718..de742f8d 100644 --- a/app/src/hooks/useForm.js +++ b/app/src/hooks/useForm.js @@ -356,8 +356,15 @@ export function InputForm({ ; } - return <> -