Project

General

Profile

Actions

Patch #44341

open

Top menu hover highlight does not cover the height of the bar

Added by Vincent Robert about 14 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-

Description

The top menu highlights the entry under the cursor with a background color, but the highlight is only as tall and as wide as the label itself.

The attached patch makes the links fill the bar. The links become flex boxes with their own padding, so the highlight spans the full height of the bar and extends slightly past the label.

Everything else stays where it is. Labels, avatar and bar height are unchanged.

The classic theme draws icons behind the top menu links with padding-inline-start and background-position; both are shifted by 6px so that its labels and icons also stay in place.


Files

topmenu_hover_full_height.patch (2.47 KB) topmenu_hover_full_height.patch Vincent Robert, 2026-08-13 16:31
before.png (11.2 KB) before.png Vincent Robert, 2026-08-13 16:38
after.png (11.2 KB) after.png Vincent Robert, 2026-08-13 16:38

No data to display

Actions

Also available in: Atom PDF