Browse Source

readmore fix

huai-sian 3 years ago
parent
commit
848415fb79
3 changed files with 165 additions and 0 deletions
  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);

File diff suppressed because it is too large
+ 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);

Some files were not shown because too many files changed in this diff