mirror of
https://github.com/flarum/core.git
synced 2025-07-27 11:40:24 +02:00
Fix scrubber height adjustment
This commit is contained in:
@@ -167,7 +167,7 @@ export default Ember.Component.extend({
|
|||||||
// Adjust the height of the scrollbar so that it fills the height of
|
// Adjust the height of the scrollbar so that it fills the height of
|
||||||
// the sidebar and doesn't overlap the footer.
|
// the sidebar and doesn't overlap the footer.
|
||||||
var scrollbar = view.$('.scrubber-scrollbar');
|
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) {
|
windowWasScrolled: function(event) {
|
||||||
|
@@ -384,7 +384,7 @@ body {
|
|||||||
// right.
|
// right.
|
||||||
@media @tablet, @desktop, @desktop-hd {
|
@media @tablet, @desktop, @desktop-hd {
|
||||||
.global-page {
|
.global-page {
|
||||||
padding-bottom: 150px;
|
padding-bottom: 100px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.global-footer {
|
.global-footer {
|
||||||
|
Reference in New Issue
Block a user