diff --git a/e107_plugins/gallery/css/gallery.css b/e107_plugins/gallery/css/gallery.css index c3f9231c7..b016f4882 100644 --- a/e107_plugins/gallery/css/gallery.css +++ b/e107_plugins/gallery/css/gallery.css @@ -17,13 +17,13 @@ ul.gallery-cat > li > div > h3 { text-align: center } /* SLIDESHOW */ -#gallery-slideshow-wrapper { display:block; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; width: 664px; height: 146px; overflow: hidden; background: #000000; margin-left:auto;margin-right:auto } +#gallery-slideshow-wrapper { display:block; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; width: 664px; height: 146px; overflow: hidden; background: #000000; margin-left:auto;margin-right:auto; max-width:100% } #gallery-slideshow-content { width: 3500px; } #gallery-slideshow-content .slide { float: left; width: 679px; padding:12px; height: 146px; white-space:nowrap } -.gallery-slideshow-controls { clear:both; width: 664px; margin-left:auto; margin-right:auto; padding-top:5px; padding-bottom:10px; } +.gallery-slideshow-controls { clear:both; width: 664px; margin-left:auto; margin-right:auto; padding-top:5px; padding-bottom:10px; max-width:100%; } .gallery-slide-item { margin-right:8px; display: inline-block; }