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

Auditing fixes #2975

Merged
merged 3 commits into from
Nov 13, 2023
Merged

Auditing fixes #2975

merged 3 commits into from
Nov 13, 2023

Conversation

andysellick
Copy link
Contributor

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What

Addresses some issues to do with component use and practices in this application. See individual commits for details.

Why

Issues raised by our component auditing tools.

Visual changes

None.

- scripts were not being included for these components even though they are in use in this application
- style added 20px margin top to the intervention component
- component is already wrapped in an element that has 20px margin top, so this rule did nothing
- applications shouldn't style components, changes should be made directly to components or component options
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2975 October 30, 2023 14:16 Inactive
- and replace with new option from the component
- inverse option for metadata automatically had extra spacing around it, this was being removed by this style override
- can be seen on pages such as https://www.gov.uk/guidance/the-highway-code
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2975 October 30, 2023 14:41 Inactive
@andysellick andysellick merged commit 761afbf into main Nov 13, 2023
@andysellick andysellick deleted the auditing-fixes branch November 13, 2023 10:27
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.

3 participants