Kris-B / nanoGALLERY

image gallery simplified - jQuery plugin. Touch enabled, responsive, justified/cascading/grid layout and it supports pulling in Flickr, Google Photos and self hosted images.
https://nanogallery2.nanostudio.org/
439 stars 101 forks source link

Hide pagination container, if not used. #44

Closed grief-of-these-days closed 9 years ago

grief-of-these-days commented 9 years ago

Hey! If my memory serves, before version 5.0.1 pagination container wasn't shown when there was no pagination. But now it is displayed anyway, creating additional padding at the bottom when pagination is disabled. How about hiding the pagination container when it is empty?

jsfiddle: before: http://jsfiddle.net/mooncat/3myrmarf/embedded/result/ after: http://jsfiddle.net/mooncat/xnkk3445/embedded/result/

Kris-B commented 9 years ago

Hi! Well done. Thanks!