Make container csspadding-proof

This commit is contained in:
DanyaPostfactum 2013-01-24 19:19:08 +10:00 committed by nightwing
commit 7ae929aecf
2 changed files with 7 additions and 2 deletions

View file

@ -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 {

View file

@ -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);