Modify

Opened 13 years ago

Last modified 7 years ago

#8776 new defect

Menu becomes left-aligned

Reported by: sam@… Owned by:
Priority: normal Component: MenusPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When activating MenusPlugin, the menu suddenly becomes left-aligned whereas on every vanilla Trac installation it is right-aligned. This is confusing because all the other Trac links and buttons are on the right of the page. With a wide browser window, this makes navigation painful.

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by falkb

You actually simply need to change the float entry value in tracmenus.css from 'left' to 'right':

.sf-menu li {
	float:			right;
	position:		relative;
}

...

.sf-menu {
  float:                  right;
  margin-bottom:  1em;
}

But then the bad thing is that the displaying of sub menus doesn't work correctly on the most right menu item because it's clipped by the browser window border.

You should rather consider to change the menu position of Trac's original menu from right to left since that is the common position of a menu in GUIs of programs. I wonder why Trac decided to put the menu by default on the right side.

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: Catalin BALAN deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.