Modify

Opened 3 years ago

Last modified 3 years ago

#8776 new defect

Menu becomes left-aligned

Reported by: sam@… Owned by: cbalan
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 (1)

comment:1 Changed 3 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.

Add Comment

Modify Ticket

Action
as new The owner will remain cbalan.
Author


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

 
Note: See TracTickets for help on using tickets.