Reputation: 41
For layout purposes I need to place 15px space between the bottom of the scrolled contents and the bottom of the container: div class="scroll-pane"
.
Styling the container .scroll-pane { padding-bottom:15px; }
has no influence on the output. Going into the code of plugin jScrollPane(), it is set: elem.css({'padding':0});
so the padding-value is reset.
Is there any way to set a paddingBottom value for the scrolling container?
Upvotes: 4
Views: 1271
Reputation: 789
A css rule should work too!
.scroll-pane {
padding-bottom:15px!important;
}
Upvotes: 1
Reputation: 1469
In jQuery
$('.scroll-pane').parent().css('padding-bottom', '15px');
Should do the trick
Upvotes: 0