Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Adjust form spacing without submit buttons#1215

Open
lovasoa wants to merge 2 commits intomainsqlpage/SQLPage:mainfrom
codex/fix-form-padding-without-submit-buttonsqlpage/SQLPage:codex/fix-form-padding-without-submit-buttonCopy head branch name to clipboard
Open

Adjust form spacing without submit buttons#1215
lovasoa wants to merge 2 commits intomainsqlpage/SQLPage:mainfrom
codex/fix-form-padding-without-submit-buttonsqlpage/SQLPage:codex/fix-form-padding-without-submit-buttonCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.