From b4cc4c9beae1cd83b92863d3705c4d4e26e24b4c Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Tue, 16 Apr 2019 11:10:25 +0100 Subject: [PATCH] Revert bump to library to unblock functional tests Version 3.1.3 of govuk-elements-sass makes everything with the `heading-small` class `display: block`. https://github.com/alphagov/govuk_elements/pull/552 We use that class in many places just to make the text bold with the assumption that it the styles it applies will not prevent our text rendering inline. This change breaks that assumption. We do need to swap these classes out for utility classes that just apply the bold styles but it can be done at a later date and we aren't missing out on much by reverting this library. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3306a0f6b..2273a1e9a 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@babel/core": "7.4.0", "@babel/preset-env": "7.4.2", "diff-dom": "https://github.com/fiduswriter/diffDOM/archive/v3.1.0.tar.gz", - "govuk-elements-sass": "3.1.3", + "govuk-elements-sass": "3.1.2", "govuk_frontend_toolkit": "8.1.0", "govuk_template_jinja": "0.24.1", "gulp": "4.0.0",