Skip to content

Commit b656e21

Browse files
committed
update form header margins
1 parent 44e398f commit b656e21

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Updated sqlparser to [v0.56](https://github.com/apache/datafusion-sqlparser-rs/blob/main/changelog/0.56.0.md), with many improvements including:
1919
- Add support for the xmltable(...) function in postgres
2020
- Add support for MSSQL IF/ELSE statements.
21+
- Add support for nice "switch" checkboxes in the form component using `'switch' as type`
22+
- Add support for headers in the form component using
2123

2224
## v0.34 (2025-03-23)
2325

sqlpage/templates/form.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="row">
1717
{{#each_row}}
1818
{{#if (eq type "header")}}
19-
<h3 class="text-center mb-2"{{#if id}} id="{{id}}"{{/if}}>{{label}}</h3>
19+
<h3 class="text-center mt-2 mb-1"{{#if id}} id="{{id}}"{{/if}}>{{label}}</h3>
2020
{{else}}
2121
{{#if (or (eq type "radio") (eq type "checkbox"))}}
2222
<div class="form-selectgroup form-selectgroup-boxes d-flex flex-column mx-0 my-1 col-md-{{default width 12}}">

0 commit comments

Comments
 (0)