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 link hover behaviour #3972

Merged
merged 1 commit into from
Jul 15, 2023
Merged

Conversation

KevinMulhern
Copy link
Member

@KevinMulhern KevinMulhern commented Jul 14, 2023

Because:

  • We were only removing the underline on hover for external links. This resulted in some links sections having links with different hover behaviour.
  • I think this rule was added so the links in headings wouldn't display an underline on hover - but it doesn't seem to be needed anymore.
Screen.Recording.2023-07-14.at.15.15.34.mov

This commit:

  • Removes the http matcher regex from the lesson content link selector.

Because:
* We were only removing the underline on hover for external links. This resulted in some links sections having links with different hover behaviour.
* I think this rule was added so the links in headings wouldn't display an underline on hover - but it doesn't seem to be needed anymore.

This commit:
* Removes the http matcher regex from the lesson content link selector.
@KevinMulhern KevinMulhern self-assigned this Jul 14, 2023
@KevinMulhern KevinMulhern added the Type: Bug Involves something that isn't working as intended label Jul 14, 2023
@KevinMulhern KevinMulhern temporarily deployed to odin-review-app-pr-3972 July 14, 2023 14:19 Inactive
@KevinMulhern KevinMulhern merged commit 097edfc into main Jul 15, 2023
2 checks passed
@KevinMulhern KevinMulhern deleted the fix/link-hover-state branch July 15, 2023 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Involves something that isn't working as intended
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants