Project

General

Profile

Actions

Defect #3259

closed

remove "main-menu" div when the menu is empty

Added by Ludovic Gasc over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
2009-04-29
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

On some pages, like Home or My page, the project menu is empty but the div html is still present.

It's a problem when you a background image in CSS, because you see the background image without the menu items (see the screenshot).

Could you remove:

<div id="main-menu">

</div>

or add a CSS class to identify an empty menu ?

Thank you very much.


Files

bug0021.jpeg (9.85 KB) bug0021.jpeg Ludovic Gasc, 2009-04-29 11:41
redmine-3259.diff (575 Bytes) redmine-3259.diff Anonymous, 2010-03-02 09:47

Related issues

Related to Redmine - Defect #13773: remove "main-menu" div when the project menu is emptyNew

Actions
Actions

Also available in: Atom PDF