Actions
Patch #44341
closedIncrease top menu hover highlight by increasing the padding of the elements
Patch #44341:
Increase top menu hover highlight by increasing the padding of the elements
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
Actions
