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

li is hovered but a cannot be clicked #2

Open
GaryHilares opened this issue Jan 28, 2022 · 1 comment
Open

li is hovered but a cannot be clicked #2

GaryHilares opened this issue Jan 28, 2022 · 1 comment

Comments

@GaryHilares
Copy link

When I hover above the border of the links in the navigation bar, the style changes, but if I click, the link doesn't work. The desirable behaviour probably should be that, if the hover effect appears and you click on it, you open to the link.

Here there is a GIF where I click each button twice.
emmalearnscode_portfolio_#1_1

This is because the hover effect is in the li element wrapping the a element, but the link is in the a element and the li element is bigger than the a element.
li element:
emmalearnscode_portfolio_#1_2

a element:
emmalearnscode_portfolio_#1_3

@EmmaDawsonDev
Copy link
Owner

Thanks so much for noticing and letting me know!

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

No branches or pull requests

2 participants