diff --git a/lib/ace/css/editor.css b/lib/ace/css/editor.css index c4b40a4f..dfcb7aec 100644 --- a/lib/ace/css/editor.css +++ b/lib/ace/css/editor.css @@ -7,6 +7,8 @@ .ace_scroller { position: absolute; overflow: hidden; + top: 0; + bottom: 0; } .ace_content { @@ -20,8 +22,10 @@ .ace_gutter { position: absolute; overflow : hidden; - height: 100%; width: auto; + top: 0; + bottom: 0; + left: 0; cursor: default; z-index: 4; } @@ -66,6 +70,8 @@ overflow-x: hidden; overflow-y: scroll; right: 0; + top: 0; + bottom: 0; } .ace_scrollbar-inner { diff --git a/lib/ace/virtual_renderer.js b/lib/ace/virtual_renderer.js index 24d4bd06..75860d92 100644 --- a/lib/ace/virtual_renderer.js +++ b/lib/ace/virtual_renderer.js @@ -306,7 +306,6 @@ var VirtualRenderer = function(container, theme) { if (height && (force || size.height != height)) { size.height = height; - this.scroller.style.height = height + "px"; size.scrollerHeight = this.scroller.clientHeight; this.scrollBar.setHeight(size.scrollerHeight);