Skip to content

Commit

Permalink
Fix checkbox styling in forms.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnXLivingston committed Sep 17, 2024
1 parent 07dc6f4 commit 1071e34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/templates/form_checkbox.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { html } from "lit";

export default (o) => html`
<fieldset class="pb-2">
<fieldset class="pb-2 form-check">
<input id="${o.id}"
name="${o.name}"
type="checkbox"
class="form-check-input"
?readonly=${o.readonly}
?checked=${o.checked}
?required=${o.required} />
Expand Down

0 comments on commit 1071e34

Please sign in to comment.