diff --git a/source/Ox.UI/js/Code/SourceViewer.js b/source/Ox.UI/js/Code/SourceViewer.js index 907c7fb0..659b68aa 100644 --- a/source/Ox.UI/js/Code/SourceViewer.js +++ b/source/Ox.UI/js/Code/SourceViewer.js @@ -77,6 +77,12 @@ Ox.SourceViewer = function(options, self) { ) .appendTo($section); }); + setTimeout(function() { + var height = that.height(); + if (self.$table.height() < height) { + self.$table.css({height: height + 'px'}); + } + }, 100); }); function trim(str) {