-
Notifications
You must be signed in to change notification settings - Fork 38
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
Upgrade govuk-frontend and the crown logo #344
Conversation
Replace with the new Tudor crown
Replace with the Tudor crown from govuk-frontend assets
manual Tudor Crown spacing adjustment from govuk-frontend 4.8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me, although I haven't done any testing. One trivial comment, but otherwise 👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on two internal GDS docs sites, both worked. Thanks Jani!
V4.8 contains SCSS source maps which the compiler here bundles in and then fails to import any other styles, resulting in a visually broken site Solution for now is to bring in v4.7 and the minor crown svg alignment
0767f27
to
5bbf88d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally on customs-declarations-end-to-end-service-guide. Works well. Thank you very much!
Closes #337 #343
What’s changed
Ideally we would upgrade to govuk-frontend v4.8 and not have to bring in the minor manual SVG alignment, but as govuk-frontend v4.8 introduced SCSS source maps, the tech-docs gem compiler includes them but not any styles.
Identifying a user need
We need to update the crown before March 1
How to test with your tech docs
To see how your changes to the gem affect your website, point your website's Gemfile to your local checkout of this branch: