1
0
Fork 0
forked from 0x2620/oxjs

fixes for DocPanel

This commit is contained in:
rolux 2011-05-07 19:52:33 +02:00
commit f5f19c1c11
5 changed files with 18 additions and 15 deletions

View file

@ -11,9 +11,12 @@ Ox.DocPage = function(options, self) {
overflow: 'auto'
});
Ox.print('-------------------item', self.options.item)
that.append($('<h1>').append('<code>' + self.options.item.name + '</code>'));
that.append($('<h1>')
.css({
marginTop: 0,
WebkitMarginBefore: 0
})
.append('<code>' + self.options.item.name + '</code>'));
getItem(self.options.item, 0).forEach(function($element) {
that.append($element);