{{ item.content.text }}
+ {% endif %}diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e5cabe37e..acf829db89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,12 +22,13 @@ This change was introduced in [pull request #2694: Deprecate `.govuk-header__nav ### Fixes -In [pull request 2678: Replace ex units with ems for input lengths](https://github.com/alphagov/govuk-frontend/pull/2678), we changed how we define input lengths in our CSS. Browsers might now display these inputs as being slightly wider than before. The difference is usually fewer than 3 pixels. +In [pull request 2678: Replace ex units with ems for input lengths](https://github.com/alphagov/govuk-frontend/pull/2678), we changed how we define input lengths in our CSS. Browsers might now display these inputs as being slightly wider than before. The difference is usually fewer than 3 pixels. We’ve also made fixes in the following pull requests: - [#2668: Fix Summary List action link alignment](https://github.com/alphagov/govuk-frontend/pull/2668) - [#2670: Define mininimum width for select component](https://github.com/alphagov/govuk-frontend/pull/2670) +- [#2723: Style accordion and tabs text content with `govuk-body` class](https://github.com/alphagov/govuk-frontend/pull/2723) ## 4.2.0 (Feature release) diff --git a/src/govuk/components/accordion/accordion.yaml b/src/govuk/components/accordion/accordion.yaml index 942a2105dc..1241089944 100644 --- a/src/govuk/components/accordion/accordion.yaml +++ b/src/govuk/components/accordion/accordion.yaml @@ -57,10 +57,7 @@ examples: - heading: text: Section A content: - html: | -
- We need to know your nationality so we can work out which elections you’re entitled to vote in. If you cannot provide your nationality, you’ll have to send copies of identity documents through the post. -
+ text: We need to know your nationality so we can work out which elections you’re entitled to vote in. If you cannot provide your nationality, you’ll have to send copies of identity documents through the post. - heading: text: Section B content: diff --git a/src/govuk/components/accordion/template.njk b/src/govuk/components/accordion/template.njk index fd567466b0..b9339fe71e 100644 --- a/src/govuk/components/accordion/template.njk +++ b/src/govuk/components/accordion/template.njk @@ -19,7 +19,11 @@ {% endif %}{{ item.content.text }}
+ {% endif %}Case manager | -Cases opened | -Cases closed | -
---|---|---|
David Francis | -1380 | -1472 | -
Paul Farmer | -1129 | -1083 | -
Rita Patel | -1539 | -1265 | -
{{ item.panel.text }}
+ {% endif %}