diff --git a/www/css/beauty.css b/www/css/beauty.css index 29f17d2..abe4d6c 100644 --- a/www/css/beauty.css +++ b/www/css/beauty.css @@ -181,6 +181,7 @@ a:link{text-decoration:none} .has-slideshow.is-idle .fancybox__viewport, .has-slideshow.is-idle .fancybox__content{cursor:none} .has-slideshow.is-idle .fancybox__toolbar{display:none} +.has-slideshow.is-idle .fancybox__slide.has-image>.fancybox__content{width:100% !important;height:100% !important} /* 主题切换 */ diff --git a/www/js/beauty.js b/www/js/beauty.js index ff61aa2..dda06fa 100644 --- a/www/js/beauty.js +++ b/www/js/beauty.js @@ -155,8 +155,6 @@ if ($('#image_site').get(0)) { Toolbar: fancyboxToolbar, loop: true, smallBtn: false, - //height: $(window).height(), - width: $(window).width(), on: { startSlideshow: function(fancybox) { var autoplay = fancybox.plugins.Slideshow.ref;