Skip to content

Commit ce1b59f

Browse files
committed
fix slight misalignment and sizing issues of checkboxes and radio buttons
fix #613
1 parent aecf3f1 commit ce1b59f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- Fix an issue where the color name `blue` could not be used in the chart component.
1717
- Add new properties to the foldable component: `id`, `class`, and `expanded` (to control the state of the foldable item). The old behavior was having the first foldable item initially opened and the others closed. To keep the old behavior, you need to explicitly set `true as expanded` on the first foldable item.
1818
- **divider component**: Add new properties to the divider component: `link`, `bold`, `italics`, `underline`, `size`.
19+
- **form component**: fix slight misalignment and sizing issues of checkboxes and radio buttons.
1920

2021
## 0.28.0 (2024-08-31)
2122
- Chart component: fix the labels of pie charts displaying too many decimal places.

sqlpage/templates/form.handlebars

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<div class="row">
1616
{{#each_row}}
1717
{{#if (or (eq type "radio") (eq type "checkbox"))}}
18-
<div class="form-selectgroup form-selectgroup-boxes d-flex flex-column my-1 col-md-{{default width 12}}">
19-
<label class="form-selectgroup-item flex-fill">
18+
<div class="form-selectgroup form-selectgroup-boxes d-flex flex-column mx-0 my-1 col-md-{{default width 12}}">
19+
<label class="form-selectgroup-item flex-fill mx-0">
2020
<input type="{{type}}" {{#if id}}id="{{id}}" {{/if}}name="{{name}}" value="{{value}}" {{#if required}}required{{/if}} {{#if checked}}checked{{/if}} class="form-selectgroup-input">
2121
<div class="form-selectgroup-label d-flex align-items-center p-3">
2222
<div class="me-3">

0 commit comments

Comments
 (0)