Skip to content

Review and fix inconsistent link styles #1312

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

colinrotherham
Copy link
Contributor

@colinrotherham colinrotherham commented May 20, 2025

Description

Fixed a few link consistency issues whilst investigating #1311

For example, the breadcrumbs component as a back link on mobile:

Before

No underline on :hover with mismatched icon colour

Breadcrumbs back link before

After

Underline on :hover with matching icon colour

Breadcrumbs back link after

Checklist

@frankieroberto
Copy link
Contributor

@colinrotherham the regular back links aren't underlined, as has been previously noticed but I’m not sure we know why.

@colinrotherham
Copy link
Contributor Author

colinrotherham commented May 20, 2025

@frankieroberto Ah the regular back links were actually underlined just fine:
https://nhsuk.github.io/nhsuk-frontend/components/all-links.html

It was only the back link fallback that the breadcrumb component rendered (mobile)

I've pushed up the text change to "Go back" "Back" but can remove if controversial

Update: Sorry, thought you meant on :hover (which is now consistent)

@colinrotherham colinrotherham force-pushed the link-styles branch 3 times, most recently from f47dfe7 to 76072a7 Compare May 21, 2025 15:35
@colinrotherham colinrotherham changed the title Review and fix duplicate link styles Review and fix inconsistent link styles May 21, 2025
@colinrotherham colinrotherham force-pushed the link-styles branch 2 times, most recently from 64eefd8 to 3444c48 Compare May 21, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants