Skip to content

Commit

Permalink
Fix button typeface (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood authored Jul 25, 2024
1 parent f427944 commit 06fbb4e
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 @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Further fixed gallery component layout when CSS loads but JS fails
- Buttons using the `<button>` element now have the correct typeface (they were using the browser default)

### Security

Expand Down
2 changes: 1 addition & 1 deletion src/nationalarchives/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $button-border-width: 4px !default;
cursor: pointer;

@include typography.font-size(18);
@include typography.main-font-weight-bold;
@include typography.main-font(true);

@include colour.colour-background("button-background");

Expand Down

0 comments on commit 06fbb4e

Please sign in to comment.