Fixed Mouse hover on avatar shows default instead of hand cursor

Steffen

Well-known member
Affected version
2.0.4
When I mouse hover on the user menu then XenForo shows the hand cursor (fine):

Screenshot from 2018-04-18 09-50-17.webp

But when I hover exactly over my avatar it shows the default cursor:

Screenshot from 2018-04-18 09-45-39.webp

This issue is not limited to users not having a custom avatar. It exists for users that have a custom avatar, too.

The cause seems to be the following CSS:
CSS:
.avatar:not(a) {
    cursor: default;
}
 
Last edited:
Clicking the avatar does the same thing as clicking the username next to it: It opens the user menu.

The avatar is visually part of the button and clicking it yields the same result as clicking another part of the button. I therefore think it should have the same mouse hover cursor.
 
That's actually a very good question. Perhaps not, but I'm currently working on the assumption we were overriding it for specific reasons in the first place.
 
Back
Top Bottom