Project

General

Profile

Actions

Defect #13773

open

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

Added by Terence Mill almost 11 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

On some pages, like Home or My page or plugin using main menu entries 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. Also its a problem if you use contect menu slider as done in plugin redmine sidebar hide where additional space is made availaibe if collapsed

Could you remove this div or add a CSS class to identify an empty menu so i am able to unset css main.margin-left property, for view here no project context and aka no project menu entries are available.

The fix #3259 doesn't fix the problem, because i still have empty "main-menu" divs in my rendered site

<div id="main-menu">

</div>

Related issues

Related to Redmine - Defect #3259: remove "main-menu" div when the menu is emptyClosedJean-Philippe Lang2009-04-29

Actions
Actions #1

Updated by Go MAEDA almost 3 years ago

  • Related to Defect #3259: remove "main-menu" div when the menu is empty added
Actions #2

Updated by Go MAEDA almost 3 years ago

I cannot find a blank div.main-menu in Home and My page.

Do you still experience the issue in the current versions of Redmine?

Actions

Also available in: Atom PDF