diff --git a/CHANGELOG.md b/CHANGELOG.md index 69f87d54..3cdd3793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,15 +9,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- High contrast support for chip lists with icons - Allow custom cookie path to be passed to cookie banner ### Changed +- Card meta information changed to chip list - Improvements to high contrast modes ### Deprecated ### Removed + +- Removed generic `accent` CSS variable + ### Fixed + +- Multiple line spacing for chip lists fixed + ### Security ## [0.1.25-prerelease](https://github.com/nationalarchives/tna-frontend/compare/v0.1.24-prerelease...v0.1.25-prerelease) - 2023-11-16 diff --git a/src/nationalarchives/components/card/card.scss b/src/nationalarchives/components/card/card.scss index e095eced..c37092a9 100644 --- a/src/nationalarchives/components/card/card.scss +++ b/src/nationalarchives/components/card/card.scss @@ -61,8 +61,8 @@ } &__meta { - margin: 0; - padding: 0; + // margin: 0; + // padding: 0; display: flex; flex-wrap: wrap; @@ -72,19 +72,19 @@ list-style: none; - &-item { - display: flex; - align-items: center; + // &-item { + // display: flex; + // align-items: center; - @include colour.colour-font("font-dark"); - @include typography.detail-font-small; + // @include colour.colour-font("font-dark"); + // @include typography.detail-font-small; - .fa-solid { - margin-right: 0.75rem; + // .fa-solid { + // margin-right: 0.75rem; - @include colour.colour-font("icon-light"); - } - } + // @include colour.colour-font("icon-light"); + // } + // } + p { margin-top: 1rem; @@ -201,23 +201,6 @@ } @include colour.on-high-contrast { - &__meta { - &-item { - padding-right: 0.5rem; - - @include colour.colour-border("keyline-dark", 1px, solid); - - .fa-solid { - margin-right: 0.5rem; - padding: 0.5rem; - - @include colour.colour-font("contrast-font-base"); - - @include colour.colour-background("contrast-background"); - - @include colour.colour-border("keyline-dark", 1px, solid, right); - } - } - } + @include colour.colour-border("keyline-dark", 1px); } } diff --git a/src/nationalarchives/components/card/fixtures.json b/src/nationalarchives/components/card/fixtures.json index 1c4aa0fc..16647dd0 100644 --- a/src/nationalarchives/components/card/fixtures.json +++ b/src/nationalarchives/components/card/fixtures.json @@ -75,7 +75,7 @@ ], "body": "
Card body
" }, - "html": "Card body
Card body