1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Fix scrubber height adjustment

This commit is contained in:
Toby Zerner
2015-03-05 12:34:42 +10:30
parent 1958b4a971
commit 64b6698791
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ export default Ember.Component.extend({
// Adjust the height of the scrollbar so that it fills the height of
// the sidebar and doesn't overlap the footer.
var scrollbar = view.$('.scrubber-scrollbar');
scrollbar.css('max-height', $(window).height() - scrollbar.offset().top + $(window).scrollTop() - $('#footer').outerHeight(true));
scrollbar.css('max-height', $(window).height() - scrollbar.offset().top + $(window).scrollTop() - parseInt($('#page').css('padding-bottom')));
},
windowWasScrolled: function(event) {