When two checkboxes are adjacent to each other (but as separate HTMLCheckboxFields, not as part of one HTMLMultiSelectField), Codex's CSS tries to put a margin between them, but this CSS isn't triggered because the checkboxes are wrapped in other divs, so they're the last (and only) child of their parent.
Either:
- Add CodexHTMLForm-specific CSS rules to add the margins back; or
- Remove wrapper divs and/or move CSS classes to different divs so that Codex's CSS kicks in and sets the margins