diff --git a/CHANGELOG.md b/CHANGELOG.md index be08333e11..3967a62168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,14 @@ We made these changes in the following pull requests: - [#6264: Add media query functions](https://github.com/alphagov/govuk-frontend/pull/6264). - [#6265: Rewrite `govuk-media-query`, remove dependency on `sass-mq`](https://github.com/alphagov/govuk-frontend/pull/#6265). +### Recommended changes + +#### Rename ellipses HTML class in pagination to ellipsis + +Within the pagination component, change the `govuk-pagination__item--ellipses` class to `govuk-pagination__item--ellipsis`. + +We introduced this change in [pull request #5882: Rename ellipses html class to ellipsis](https://github.com/alphagov/govuk-frontend/pull/5882). + ### Fixes - [#6297: Output deprecation warning if $govuk-show-breakpoints is true](https://github.com/alphagov/govuk-frontend/pull/6297) diff --git a/packages/govuk-frontend/src/govuk/components/pagination/_index.scss b/packages/govuk-frontend/src/govuk/components/pagination/_index.scss index b76c05c237..9545b6378e 100644 --- a/packages/govuk-frontend/src/govuk/components/pagination/_index.scss +++ b/packages/govuk-frontend/src/govuk/components/pagination/_index.scss @@ -72,6 +72,7 @@ // Only show first, last and non-link items on mobile .govuk-pagination__item--current, + .govuk-pagination__item--ellipsis, .govuk-pagination__item--ellipses, .govuk-pagination__item:first-child, .govuk-pagination__item:last-child { @@ -92,6 +93,7 @@ } } + .govuk-pagination__item--ellipsis, .govuk-pagination__item--ellipses { @include govuk-typography-weight-bold; color: $govuk-secondary-text-colour; diff --git a/packages/govuk-frontend/src/govuk/components/pagination/template.njk b/packages/govuk-frontend/src/govuk/components/pagination/template.njk index 5765c1ca42..ad0da05ec6 100644 --- a/packages/govuk-frontend/src/govuk/components/pagination/template.njk +++ b/packages/govuk-frontend/src/govuk/components/pagination/template.njk @@ -37,7 +37,7 @@ {% endmacro -%} {%- macro _pageItem(item) -%} -