Skip to content

Commit cc8848f

Browse files
authored
Adjust form spacing without submit buttons (#1215)
1 parent 3edb882 commit cc8848f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## unreleased
44
- OIDC protected and public paths now respect the site prefix when it is defined.
5+
- Fix: forms without submit or reset buttons no longer keep extra bottom spacing.
56
- add submit and reset form button icons: validate_icon, reset_icon, reset_color
67

78
## 0.42.0 (2026-01-17)

sqlpage/templates/form.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{{/if}}
1010
{{#if auto_submit}}data-auto-submit{{/if}}
1111
>
12-
<fieldset class="form-fieldset mb-1">
12+
<fieldset class="form-fieldset {{#if (or (and (ne validate '') (not auto_submit)) reset)}}mb-1{{else}}mb-0{{/if}}">
1313
{{#if title}}
1414
<h2 class="text-center mb-0">{{title}}</h2>
1515
{{/if}}

0 commit comments

Comments
 (0)