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

Rename border-width-mobile to reflect how it's used #1287

Merged
merged 2 commits into from
Apr 30, 2019

Conversation

hannalaakso
Copy link
Member

Despite its current name, the variable isn't used on mobile.

Standardise the border width on error summary on mobile to use the standard border width.

From @dashouse)

The 4px border is used in the conditional reveals because it has to be an even number in order to be centred under the 40px checkbox or radio. 5px would put it 1px too far left or right and it was
noticeable. The error summary change is probably not needed.

Fixes #1240

@hannalaakso hannalaakso added this to the v3.0.0 milestone Apr 24, 2019
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1287 April 24, 2019 16:37 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1287 April 24, 2019 16:55 Inactive
@hannalaakso hannalaakso marked this pull request as ready for review April 30, 2019 08:39
@hannalaakso hannalaakso changed the base branch from master to v3 April 30, 2019 08:39
@hannalaakso hannalaakso changed the title DNM: Rename border-width-mobile to reflect how it's used Rename border-width-mobile to reflect how it's used Apr 30, 2019
CHANGELOG.md Outdated Show resolved Hide resolved
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1287 April 30, 2019 14:07 Inactive
Despite its name, the variable isn't used on mobile.

Standardise the border width on error summary on mobile to use
the standard border width.

From @dashouse): "The 4px border is used in the conditional reveals
because it has to be an even number in order to be centred under the 40px
checkbox or radio. 5px would put it 1px too far left or right and it was
noticeable. The error summary change is probably not needed."

Fixes #1240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants