Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make radio and checkbox labels inline-block #821

Merged
merged 2 commits into from
Jun 26, 2018
Merged

Make radio and checkbox labels inline-block #821

merged 2 commits into from
Jun 26, 2018

Conversation

kr8n3r
Copy link

@kr8n3r kr8n3r commented Jun 22, 2018

This fixes #543 regression, reintroduced with conditional reveal.

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-821 June 22, 2018 10:45 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-821 June 22, 2018 10:45 Inactive
@36degrees
Copy link
Member

@NickColley any idea why the labels were made display: block? Was there an issue in a particular browser we need to test?

@kr8n3r
Copy link
Author

kr8n3r commented Jun 22, 2018

IEs seem to be fine with inline-block
ie8
ie9
ie10
ie11

@NickColley
Copy link
Contributor

Only thing I can think of is potential wrapping, with the conditional element, but maybe I just made a mistake.

CHANGELOG.md Outdated
Description goes here (optional)

([PR #N](https://github.com/alphagov/govuk-frontend/pull/N))
- Make radio and checkbox labels `inline-block` instead of `block`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we reword this to explain what it fixes?

"Fixes radio and checkbox labels extending full width of page"

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-821 June 22, 2018 11:47 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Radios labels are full width - should be the width of the label text?
4 participants