Skip to content

Commit

Permalink
Fix colour of hovered buttons using the <button> element
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Sep 16, 2024
1 parent b829f79 commit 4170a87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated
### Removed
### Fixed

- Fixed colour of hovered buttons using the `<button>` element

### Security

## [0.2.13](https://github.com/nationalarchives/tna-frontend/compare/v0.2.12...v0.2.13) - 2024-09-13
Expand Down
4 changes: 3 additions & 1 deletion src/nationalarchives/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ $button-border-width: 4px !default;

&,
&:link,
&:visited {
&:visited,
&:hover,
&:focus {
@include colour.colour-font("link");
}

Expand Down

0 comments on commit 4170a87

Please sign in to comment.