move menu extra style into css

This commit is contained in:
rlx 2013-08-01 10:26:09 +00:00
parent 6ee9e92a8e
commit a0c9111f3b
2 changed files with 4 additions and 3 deletions

View file

@ -1719,6 +1719,9 @@ Menus
float: right; float: right;
padding: 2px 8px 0 0; padding: 2px 8px 0 0;
} }
.OxMainMenu > .OxExtras > * {
float: left;
}
.OxMenu { .OxMenu {
position: absolute; position: absolute;

View file

@ -39,9 +39,7 @@ Ox.MainMenu = function(options, self) {
.addClass('OxExtras') .addClass('OxExtras')
.appendTo(that); .appendTo(that);
self.options.extras.forEach(function(extra) { self.options.extras.forEach(function(extra) {
extra.css({ extra.appendTo(that.extras);
float: 'left' // fixme: need class!
}).appendTo(that.extras);
}); });
} }