Skip to content

Commit

Permalink
Fix card top border on high contrast mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Oct 28, 2024
1 parent b6fdff6 commit 76bb4d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/nationalarchives/components/card/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 76bb4d3

Please sign in to comment.