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

Profile option dont redirect -- only text redirect #11

Open
jsaumap opened this issue Oct 7, 2021 · 1 comment
Open

Profile option dont redirect -- only text redirect #11

jsaumap opened this issue Oct 7, 2021 · 1 comment

Comments

@jsaumap
Copy link

jsaumap commented Oct 7, 2021

in user menu "my profile" when click button dont redirect to profile, but if click text "my profile" redirect

Captura

@bkerz
Copy link

bkerz commented Oct 7, 2021

Yes, that's because the both the icon and the text are wrapped by a div, so to fix this the only thing we need to do is to reorder the elements and put the icon inside the link element <a></a>.

Another possible solution is to add position:absolute; to the icon and some styles to add more width to the link for it to be in front of the icon. In this way it won't matter if you click to the icon you will click to the link as well because it would be in front or up to the icon.
image

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