From c8cf8bc721b09ffd132a29271d4d95e85df1ca04 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Mon, 16 Dec 2024 11:13:49 +0000 Subject: [PATCH] Fix current gallery item style --- CHANGELOG.md | 3 +++ src/nationalarchives/components/gallery/gallery.scss | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6228eaad..c19fad1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Deprecated ### Removed ### Fixed + +- Style for current selected gallery item fixed + ### Security ## [0.4.0](https://github.com/nationalarchives/tna-frontend/compare/v0.3.0...v0.4.0) - 2024-12-10 diff --git a/src/nationalarchives/components/gallery/gallery.scss b/src/nationalarchives/components/gallery/gallery.scss index 8e1b5dc4..374f4b9a 100644 --- a/src/nationalarchives/components/gallery/gallery.scss +++ b/src/nationalarchives/components/gallery/gallery.scss @@ -238,7 +238,7 @@ } } - &[aria-selected="true"] { + &[aria-current="true"] { @include colour.accent; &::after {