Skip to content

Commit

Permalink
Fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Dec 9, 2024
1 parent 337686f commit a484225
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Shifted and split hero components no longer assume a contrasted background by default
- `marketing` has been added to the default list of cookie policies
- Updated the weight of the `tna-large-paragraph` class from the base weight to "medium"
- Added a `tna-large-paragraph--bold` to change the weight and colour `tna-large-paragraph`

### Deprecated
### Removed
Expand Down
2 changes: 1 addition & 1 deletion src/nationalarchives/components/hero/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ $shift-units: 5 !default;
padding: 0;
}

@include media.on-larger-than {
@include media.on-larger-than-mobile {
&--shift {
margin-bottom: spacing.space($shift-units - $padding-units-bottom);
}
Expand Down
7 changes: 6 additions & 1 deletion src/nationalarchives/utilities/typography/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -444,11 +444,16 @@ small {
@include spacing.space-above;

@include typography.font-size(22);
@include typography.main-font-weight-medium;
@include colour.colour-font("font-dark");

@include media.on-mobile {
@include typography.font-size(20);
}

&--bold {
@include colour.colour-font("font-base");
@include typography.main-font-weight-medium;
}
}

.tna-scene-setter {
Expand Down

0 comments on commit a484225

Please sign in to comment.