Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Pagination component print styles #2800

Merged
merged 2 commits into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ This will enable screen reader users to have a better, more coherent experience

This was added in [pull request #2677: Amend error summary markup to fix page load focus bug in JAWS 2022](https://github.com/alphagov/govuk-frontend/pull/2677)

### Fixes

We’ve made fixes to GOV.UK Frontend in the following pull requests:

- [#2800: Improve Pagination component print styles](https://github.com/alphagov/govuk-frontend/pull/2800)

## 4.3.1 (Patch release)

### Recommended changes
Expand Down
17 changes: 10 additions & 7 deletions src/govuk/components/pagination/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,16 @@
display: block;
min-width: govuk-spacing(3);

&:after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
// Increase the touch area for the link to the parent element.
@media screen {
&:after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
}

// Add link hover decoration to prev/next text if no label present on prev/next only mode
Expand Down