Project

General

Profile

Actions

Defect #44443

open

Top menu is thinner than expected when the user is not logged in

Added by Go MAEDA 1 day ago. Updated about 12 hours ago.

Status:
New
Priority:
Normal
Category:
UI
Target version:
Resolution:
Affected version:

Description

The top menu is thinner than it should be when the user is not logged in. Its height is 17px for anonymous users, while it is 28px for logged-in users, which is the intended height.

This is a side effect of the change made to the account menu in Redmine 7.0.0 (#31353). Since that change, the account menu shows a 22px avatar for logged-in users, and the avatar defines the height of the bar. For anonymous users, no avatar is shown, so the bar collapses to the height of the text links.

The attached patch fixes this issue by reserving the avatar height so that the bar is 28px tall whether or not the avatar is shown. The height is set on .profile-menu inside #top-menu rather than on #top-menu itself, to avoid affecting themes that set their own height on #top-menu (for example, the bundled Classic theme).

Before:

After:


Files


Related issues

Related to Redmine - Feature #31353: Replace user related links in the top menu bar with a proper user menu.ClosedMarius BĂLTEANUActions
Actions

Also available in: Atom PDF