-
Notifications
You must be signed in to change notification settings - Fork 320
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
The $govuk-border-width-mobile variable doesn't make any sense #1240
Comments
@dashouse Would you mind taking a look? 🙏 We use this border width (4px) for
Do we think having 4px border there is useful or would we want to consider simplifying this by bumping those scenarios to use the standard 5px border width? (If having 4px border variable is useful, we could rename it to |
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. So I'd say we will need a 4px border, it should just have a different name. |
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
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
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
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
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
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
We have a variable called
$govuk-border-width-mobile
.It's documented as 'Border width on mobile'
However, it's only used in a couple of places:
We should consider renaming or removing this variable.
The text was updated successfully, but these errors were encountered: