Make container csspadding-proof
This commit is contained in:
parent
4ccbeb23fa
commit
7ae929aecf
2 changed files with 7 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue