浏览代码

readmore fix

huai-sian 3 年之前
父节点
当前提交
848415fb79
共有 3 个文件被更改,包括 165 次插入0 次删除
  1. 1 0
      hhh-readmore.html
  2. 163 0
      hhh-readmore2.html
  3. 1 0
      sass/main.scss

+ 1 - 0
hhh-readmore.html

@@ -250,6 +250,7 @@
     console.log($('.article__title').height())
     console.log($('.article__contexts p:nth-of-type(1)').height())
     console.log($('.article__contexts p:nth-of-type(2)').height())
+    console.log(document.querySelector('.article__contexts').childNodes)
 
     $('.article__contexts').css('height', height);
     console.log(height);

文件差异内容过多而无法显示
+ 163 - 0
hhh-readmore2.html


+ 1 - 0
sass/main.scss

@@ -37,6 +37,7 @@ img:focus-visible  {
     }
 }
 
+
 .navbar {
     box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2), 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12);
     -webkit-box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2), 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12);

部分文件因为文件数量过多而无法显示