From a1dae1493574a10d3edfe599ac6a08b6e66bd2a9 Mon Sep 17 00:00:00 2001 From: owenatgov Date: Thu, 9 Dec 2021 11:27:20 +0000 Subject: [PATCH] Increase big number label size --- CHANGELOG.md | 3 ++- .../components/_big-number.scss | 7 +------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec471763f2..1269046b08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,10 @@ ## Unreleased -* Alter use of pseudo-underline mixin to allow for different button sizes ([#2501](https://github.com/alphagov/govuk_publishing_components/pull/2501)) +* Alter use of pseudo-underline mixin to allow for different button sizes ([PR #2501](https://github.com/alphagov/govuk_publishing_components/pull/2501)) * Re-work explicit-cross-domain-links.js ([PR #2502](https://github.com/alphagov/govuk_publishing_components/pull/2502)) * Update govspeak table styles ([PR #2470](https://github.com/alphagov/govuk_publishing_components/pull/2470)) +* Increase big number label size ([PR #2506](https://github.com/alphagov/govuk_publishing_components/pull/2506)) ## 27.16.0 diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss b/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss index 5a810a03bd..b2d219251a 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss @@ -15,12 +15,7 @@ } .gem-c-big-number__label { - font-size: 16px; - @include govuk-typography-weight-bold; - - @if $govuk-typography-use-rem { - font-size: govuk-px-to-rem(16px); - } + @include govuk-font($size: 19, $weight: bold); // This pseudo element is to bypass an issue with NVDA where block level elements are dictated separately. // What's happening here is that the label and the number technically have an inline relationship but appear to have a block relationship thanks to this element