codewars / codewars.com

Issue tracker for Codewars
https://www.codewars.com
BSD 2-Clause "Simplified" License
2.1k stars 220 forks source link

user menu not working properly on narrow screens #2995

Open Blind4Basics opened 1 year ago

Blind4Basics commented 1 year ago

Context

on CW, clicking on the avatar (top right corner) or the kyu/dan badge or the honor counter normally sends the user to their profile page.

Problems

1) The link isn't working anymore when the window is narrow

Tries done in incognito mode, with all extensions deactivated:

image

The link is seen (see bottom left corner), but clicking doesn't do anything. Same when trying to click on the avatar.

Same with an even narrower screen, where the badge and the counter disappear: image

2) It must be noticed that, on "very narrow screens" (ie. avatar only), the menu isn't collapsing anymore when the mouse leaves the menu after trying to click.

Expected

The behavior should be consistent whatever the size of the window, hence

Additional info: