From 76bb4d3a01a75590a387949ebdabe339030f3ee1 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Mon, 28 Oct 2024 11:14:59 +0000 Subject: [PATCH] Fix card top border on high contrast mode --- CHANGELOG.md | 1 + src/nationalarchives/components/card/card.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39c9bb1b..0142f5ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - The click area for the logo link in a header component on tiny devices no longer stretches to fill the header +- Top borders on card components displayed on high contrast displays have been fixed ### Security diff --git a/src/nationalarchives/components/card/card.scss b/src/nationalarchives/components/card/card.scss index 35d8e773..b4608fdf 100644 --- a/src/nationalarchives/components/card/card.scss +++ b/src/nationalarchives/components/card/card.scss @@ -223,6 +223,6 @@ } @include colour.on-high-contrast { - @include colour.colour-border("keyline-dark", 1px); + @include colour.colour-border("keyline-dark", 1px, solid, "", true); } }