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

Fixes an issue with styling links #1310

Merged
merged 2 commits into from
May 2, 2019
Merged

Fixes an issue with styling links #1310

merged 2 commits into from
May 2, 2019

Commits on May 2, 2019

  1. Fixes an issue with styling links

    When visiting the links example page, if you had previously visited the
    home page then the unvisited link and visited link example looked identical.
    This commit passes a random number to the view. The view adds the randomId
    to the href as a hash.
    
    Co-authored-by: Nick Colley <nick.colley@digital.cabinet-office.gov.uk>
    aliuk2012 and NickColley committed May 2, 2019
    Configuration menu
    Copy the full SHA
    3779e45 View commit details
    Browse the repository at this point in the history
  2. Fixes govuk-elements focussed link colour overriding govuk-frontends

    govuk-elements uses specific css selector`a:link:focus` whereas
    govuk-frontend uses `.govuk-link:focus`. This fix makes govuk-frontend
    selector more specific `.govuk-link:link:focus` but only when compatibility
    mode is being used.
    
    Co-authored-by: Nick Colley <nick.colley@digital.cabinet-office.gov.uk>
    aliuk2012 and NickColley committed May 2, 2019
    Configuration menu
    Copy the full SHA
    c1145b9 View commit details
    Browse the repository at this point in the history