1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-23 16:18:48 -05:00

Fix scrolling

This commit is contained in:
Lance Stout 2013-09-26 10:58:35 -07:00
parent a0a57549cb
commit 49ea416a24
3 changed files with 13 additions and 1 deletions

View File

@ -104,7 +104,7 @@ module.exports = {
queue: false
});
} else {
this.$scrollContainer.scrollTop(height);
this.$scrollContainer[0].scrollTop = height;
}
},
scrollToBottom: function (animate) {

View File

@ -21,4 +21,10 @@ h3
top: 0px
right: 0px
left: 181px
height: 100%
borderbox()
.scroll-container
height: 100%
overflow-y: auto
-webkit-overflow-scrolling: touch

View File

@ -269,10 +269,16 @@ h3 {
top: 0px;
right: 0px;
left: 181px;
height: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#pages .scroll-container {
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
#connectionOverlay {
position: fixed;
top: 0px;