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

Fix inconsistent navigation header hover states #2282

Merged
merged 2 commits into from
Aug 24, 2021
Merged

Conversation

injms
Copy link
Contributor

@injms injms commented Aug 23, 2021

What

Updates the borders and hover states of the navigation header buttons and links.

Why

The hover states and borders of the navigation header links and toggle buttons were inconsistent.

Visual Changes

Mobile view link hover state

Before After
image image

Search button hover state

Before:
image

After:
image

injms added 2 commits August 23, 2021 16:38
The hover colour didn't have the required contrast when on smaller screens, so
has been changed to the same hover colour as standard links.
The borders on the toggle buttons were disappearing depending on the state that
they were in. This has been fixed, but will probably need a refactor in the
future so it makes a bit more sense.
@bevanloon bevanloon temporarily deployed to govuk-publis-fix-nav-he-fbpaub August 23, 2021 15:49 Inactive
@injms injms marked this pull request as ready for review August 23, 2021 15:58
@injms injms merged commit 7254544 into master Aug 24, 2021
@injms injms deleted the fix-nav-header-hovers branch August 24, 2021 08:10
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.

3 participants