Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Oct 4, 2023
1 parent 0660ac8 commit 5131e97
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Allow use of custom variables when loading SCSS
- Cards can now have meta text/icons under the title
- `<dl>` elements are now styled
- `<dl>` elements are now styled using a `tna-dl` class
- Initial pagination component
- Variables can now be changed as described in `src/nationalarchives/stories/development/using.mdx`
- Basic pagination element added
- `<small>` element now styled

### Changed

- Focus on the confirmation message of the cookie banner once accepted or rejected
- `hideCookieBannerKey` property on cookie banner changed to `cookiesPreferencesSetKey`
- The heading size of "The National Archives" in the footer is reduced from `l` to `m`
- When using the prototype kit, `<p>` tags have some alterations that remove the default GOV.UK styling
- When using the system theme, JavaScript is no longer required to write specific theme classes to the `<html>` element - all of this is done in CSS
- Standalone CSS such as `components/button.css` no longer includes Font Awesome
- `<nav>` elements in the footer now have a `role="navigation"` attribute
- The default cookie policies are now `essential`, `usage` and `settings`
- The SCSS mixin `colour-outline` now accepts optional width and style properties
- In coloured blocks, the custom CSS property `--background` now gets explictly replaced with `--accent-background`, `--contrast-background` or `--accent-background-light`
- `typography.$base-font-size-px` is now `typography.$relative-1rem-px`

### Deprecated
### Removed

- Explicit overflow properties applied to `.tna-template` and `.tna-template__body` have been removed

### Fixed

- Updated the prototype kit templates
- Tabs will not try to show a specific one on startup unless the target matches the ID of one of the tabs
- Closing `</nav>` tag added on to `index-grid`
- `/nationalarchives/_prototype-kit.scss` is now the entrypoint for the GOV.UK prototype kit SASS which fixes the asset location
- The cookie banner confirmation message is no longer outlined when highlighted
- The import routes of the layouts for use in the prototype kit now work

### Security

Expand Down
10 changes: 10 additions & 0 deletions src/nationalarchives/utilities/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
width: 100%;
height: 100%;

/*
* ------------------------------------------
* Support ended with iOS 13 released on 19th
* September 2019. Deprecate in the future if
* iOS <13 share drops low enough.
* https://caniuse.com/mdn-css_properties_-webkit-overflow-scrolling
* ------------------------------------------
*/
-webkit-overflow-scrolling: touch;

font-size: #{typography.$relative-1rem-px}px;

@include colour.colour-background("page-background");
Expand Down

0 comments on commit 5131e97

Please sign in to comment.