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

Pin patch version of govuk-elements-sass #2211

Merged
merged 1 commit into from
Aug 8, 2018
Merged

Conversation

klssmith
Copy link
Contributor

@klssmith klssmith commented Aug 8, 2018

Version 3.1.3 of govuk-elements changed heading classes to display block (alphagov/govuk_elements#552). This is a breaking change for us since we are using the heading classes in a number of places that aren't headings in order to make font bold. Upgrading to 3.1.3 adds line breaks in places where we don't want them and causes some functional tests to fail.

I started by trying to update the CSS so that everything still looks the same with 3.1.3, but this was getting increasingly complicated. And since we will be replacing govuk-elements with the new design system soon anyway, it is simpler to pin the version of govuk-elements for now.

Example of an unwanted line break in version 3.1.3

screen shot 2018-08-07 at 16 44 50

Version 3.1.3 changed heading classes to display block - alphagov/govuk_elements#552
This is a breaking change for us since we are using the heading classes
to make font bold - 3.1.3 adds line breaks in places where we don't want
them and causes some functional tests to fail.

Since we will be replacing govuk-elements with the new design system,
this commit pins the version of govuk-elements instead of updating all
the code to work with the lastest version.
@tombye tombye merged commit 75d04a3 into master Aug 8, 2018
@tombye tombye deleted the pin-govuk-elements-sass branch August 8, 2018 15:44
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