Skip to content

Adjust form spacing without submit buttons#1215

Open
lovasoa wants to merge 1 commit intomainfrom
codex/fix-form-padding-without-submit-button
Open

Adjust form spacing without submit buttons#1215
lovasoa wants to merge 1 commit intomainfrom
codex/fix-form-padding-without-submit-button

Conversation

@lovasoa
Copy link
Collaborator

@lovasoa lovasoa commented Feb 5, 2026

Motivation

  • Prevent forms rendered without submit/reset buttons (for example when auto_submit is used) from leaving extra bottom spacing in the layout.
  • Record the UI fix in the changelog rather than (only) the README as intended.

Description

  • Change sqlpage/templates/form.handlebars to conditionally apply mb-0 on the fieldset when no submit/reset buttons will be rendered by using the existing Handlebars condition around validate, auto_submit, and reset.
  • Update CHANGELOG.md to add an unreleased entry: Fix: forms without submit or reset buttons no longer keep extra bottom spacing.
  • A small README documentation line was also touched during the edits, but the primary record of the change is in CHANGELOG.md as requested.

Testing

  • Ran cargo test, which failed because the build script could not download external frontend assets due to the environment network being unreachable; no further automated tests completed.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant