Ox.SourceViewer: temporary workaround for cases where the source code doesn't fill the full height
This commit is contained in:
parent
ec4c46cb6c
commit
03418d2952
1 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,12 @@ Ox.SourceViewer = function(options, self) {
|
||||||
)
|
)
|
||||||
.appendTo($section);
|
.appendTo($section);
|
||||||
});
|
});
|
||||||
|
setTimeout(function() {
|
||||||
|
var height = that.height();
|
||||||
|
if (self.$table.height() < height) {
|
||||||
|
self.$table.css({height: height + 'px'});
|
||||||
|
}
|
||||||
|
}, 100);
|
||||||
});
|
});
|
||||||
|
|
||||||
function trim(str) {
|
function trim(str) {
|
||||||
|
|
Loading…
Reference in a new issue