mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-29 12:42:16 -05:00
Fix scrolling
This commit is contained in:
parent
a0a57549cb
commit
49ea416a24
@ -104,7 +104,7 @@ module.exports = {
|
|||||||
queue: false
|
queue: false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$scrollContainer.scrollTop(height);
|
this.$scrollContainer[0].scrollTop = height;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
scrollToBottom: function (animate) {
|
scrollToBottom: function (animate) {
|
||||||
|
@ -21,4 +21,10 @@ h3
|
|||||||
top: 0px
|
top: 0px
|
||||||
right: 0px
|
right: 0px
|
||||||
left: 181px
|
left: 181px
|
||||||
|
height: 100%
|
||||||
borderbox()
|
borderbox()
|
||||||
|
|
||||||
|
.scroll-container
|
||||||
|
height: 100%
|
||||||
|
overflow-y: auto
|
||||||
|
-webkit-overflow-scrolling: touch
|
||||||
|
@ -269,10 +269,16 @@ h3 {
|
|||||||
top: 0px;
|
top: 0px;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
left: 181px;
|
left: 181px;
|
||||||
|
height: 100%;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
#pages .scroll-container {
|
||||||
|
height: 100%;
|
||||||
|
overflow-y: auto;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
}
|
||||||
#connectionOverlay {
|
#connectionOverlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
|
Loading…
Reference in New Issue
Block a user