Skip to content

IBX-12279: Removed the stray bottom margin from choice input labels - #136

Open
tischsoic wants to merge 1 commit into
mainfrom
IBX-12279-labels-follow-up
Open

IBX-12279: Removed the stray bottom margin from choice input labels#136
tischsoic wants to merge 1 commit into
mainfrom
IBX-12279-labels-follow-up

Conversation

@tischsoic

@tischsoic tischsoic commented Aug 29, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12279

Related PRs:

Description:

.ids-choice-input-label carried a margin-bottom: 9px that inflated the flex line of .ids-toggle and .ids-choice-input-field: the switch/checkbox sat 2px below centre and every checkbox row had 9px of dead space underneath. Removing it restores the 4px label→input gap from IBX-12187 for toggles and checkbox rows.

For QA:

Storybook: ToggleButton, Checkbox and RadioButton stories — the control is vertically centred with its text, no gap under the row. Back office (with the admin-ui PR): user create "Enabled" toggle and any checkbox sub-field sit 4px under their label.

Documentation:

The 9px margin-bottom on .ids-choice-input-label inflated the flex line of
.ids-toggle and .ids-choice-input-field, pushing the switch/checkbox 2px down
and leaving dead space under every checkbox row.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants