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

Commits on Aug 19, 2022

  1. Improve pagination print styles

    By default `.govuk-link` print styles will output the `href` attribute
    in brackets after the link. For example: "Home (/homepage)".
    
    This is done with the `::after` pseudo selector.
    So when this was styled to increase the touch area of the pagination link
    it resulted in the bracketed information overlapping the component in
    a difficult to read way.
    
    By only applying this touch area improvement in the `screen` media context
    we avoid overwriting this inherited print style and allow the default
    `.govuk-link` behaviour to apply as usual.
    NickColley committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    f3ef6e9 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG

    NickColley committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    80b47c3 View commit details
    Browse the repository at this point in the history