Prevent username from overlapping in mobile menu
|Assignee:||Jean-Philippe Lang||% Done:|
|Category:||UI - Responsive|
Under certain cirumstances the username shown in the mobile menu can break into another line overlapping the next menu item. For example if the username is too long and contains a '-':
I am attaching a patch which fixes this behaviour by avoiding line breaks and by adding
Expand username to cover whole line in mobile menu (#22074).
Patch by Gregor Schmidt.
#2 Updated by Gregor Schmidt almost 4 years ago
- File 0002-Expand-username-to-cover-whole-line-in-mobile-menu.patch added
- File screen-capture-30.png added
Sorry for hijacking this issue, but my problem is related.
If the user name is really short, e.g. a single letter, the menu entry does not cover the whole width, in contrast to the other menu entries. This makes touching the link needlessly complicated.
The second attached patch expands the user name link to cover the whole line.