move menu extra style into css
This commit is contained in:
parent
6ee9e92a8e
commit
a0c9111f3b
2 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue