From 1270189de6821ff629d01f963b0f1fa1c701a69f Mon Sep 17 00:00:00 2001 From: anandamaryon1 Date: Wed, 9 Oct 2024 11:43:32 +0100 Subject: [PATCH] fixes care card print bug https://github.com/nhsuk/nhsuk-service-manual-community-backlog/issues/533 --- CHANGELOG.md | 1 + packages/components/card/card.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2e86d46f..edb662f44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ :wrench: **Fixes** - Fix layout bug where breadcrumb component was changing height when more than one link shown +- Fix print styling bug with emergecy care card ([Issue 533]([https://github.com/nhsuk/nhsuk-service-manual-community-backlog/issues/533])) ## 9.0.0 - 18 September 2024 diff --git a/packages/components/card/card.scss b/packages/components/card/card.scss index 66437f0f2..6b99fba44 100644 --- a/packages/components/card/card.scss +++ b/packages/components/card/card.scss @@ -250,6 +250,10 @@ $card-border-hover-color: $color_nhsuk-grey-3; color: $color_nhsuk-black; /* [16] */ } } + @include mq($media-type: print) { + background-color: white; + color: $nhsuk-print-text-color; + } } .nhsuk-details,