Repository navigation
SDK v0.12.1 — Single checkbox layout fix
Patch for the standalone { type: "checkbox" } form component (introduced in v0.12.0).
The label was rendering below the checkbox and centered, instead of next to it. Caused by both bridle__ui-field (flex column) and bridle__ui-choice (align-items center) being on the same wrapper — column won and the center alignment re-purposed itself as horizontal centering on the cross axis.
Dropped the bridle__ui-field class on the single-checkbox case. Standalone checkboxes now render inline (checkbox left, label right) just like rows inside radio and checkbox-group fieldsets. Compound forms unaffected.
Install
CDN — pinned:
<script src="https://bridle.cleanslice.org/sdk/v0.12.1.js" ...></script>NPM:
bun add @cleanslice/bridle@0.12.1Changelog: sdk-v0.12.0…sdk-v0.12.1