diff --git a/simplegallery/media/css/simplegallery.css b/simplegallery/media/css/simplegallery.css index 1af7d31..0460ef8 100644 --- a/simplegallery/media/css/simplegallery.css +++ b/simplegallery/media/css/simplegallery.css @@ -38,7 +38,7 @@ /* thumbnail navigation */ .thmb-nav { display:none; } -.thmb-nav a { display:block; position:absolute; top:24%; z-index:26; color:#fff; text-decoration:none; +.thmb-nav a { display:block; position:absolute; top:32%; z-index:26; color:#fff; text-decoration:none; padding:0 5px; background:#000; } .thmb-nav a:hover { color:#000; background:#fff; } .thmb-nav .thmb-prev { left:0; } diff --git a/simplegallery/media/js/jquery.simplegallery.js b/simplegallery/media/js/jquery.simplegallery.js index 46c4419..0487c61 100644 --- a/simplegallery/media/js/jquery.simplegallery.js +++ b/simplegallery/media/js/jquery.simplegallery.js @@ -157,7 +157,7 @@ $.fn.simpleGallery = function (options) { }); thumb.parent().addClass('thmb_cycle').css({ width: fullviewWidth, - height: thumb.find('li').outerHeight(true) + height: thumb.find('li a').outerHeight(true) }); } }