浏览代码

remove space

SyuanYu 2 年之前
父节点
当前提交
78bdc40f97
共有 2 个文件被更改,包括 5 次插入3 次删除
  1. 1 1
      layouts/collection/single.html
  2. 4 2
      themes/hugo-universal-theme-master/static/js/bhouse.js

+ 1 - 1
layouts/collection/single.html

@@ -101,7 +101,7 @@
         </div>
     </div>
     <hr class="style_house_line">
-    <div class="style_house_sec02">
+    <div class="style_house_sec02" style="height: 50px;">
         <!-- <h1 class="style_house_title">內部圖解|經過精密計算的生活模式</h1> -->
         <div id="slider-loading" class="d-flex justify-content-center mb-5">
             <div class="spinner-border text-success" role="status" style="color: rgba(128, 143, 76, 1) !important;">

+ 4 - 2
themes/hugo-universal-theme-master/static/js/bhouse.js

@@ -42,10 +42,12 @@ window.onload = function() {
         "margin": 'auto',
       });
     }
-
+    
     if (i === imgCount-1) {
       $('#slider-loading').addClass("slider_loading");
-      $('.style_house_sec02 .content').css("opacity", "1");
+      $('.style_house_sec02').css("height", "auto");
+      $('.style_house_sec02 .content').css('opacity', '1');
+      
     }
   });