hossainemruz 4 rokov pred
rodič
commit
b18cf1d7cd

BIN
images/screenshot.png


BIN
images/tn.png


+ 1 - 0
static/assets/css/recent-posts.css

@@ -10,6 +10,7 @@
 
 .recent-posts .card .card-footer {
   background: #fff;
+  margin-top: auto;
 }
 
 .recent-posts .post-card-link{

+ 3 - 3
static/assets/js/home.js

@@ -137,12 +137,12 @@ var projectCards;
         let el = document.getElementById("recent-post-cards").children;
         let maxHeight = 0;
         for (let i = 0; i < el.length; i++) {
-          if (el[i].children[0].clientHeight > maxHeight) {
-            maxHeight = el[i].children[0].clientHeight;
+          if (el[i].children[1].clientHeight > maxHeight) {
+            maxHeight = el[i].children[1].clientHeight;
           }
         }
         for (let i = 0; i < el.length; i++) {
-          el[i].children[0].setAttribute("style", "min-height: " + maxHeight + "px;")
+          el[i].children[1].setAttribute("style", "min-height: " + maxHeight + "px;")
         }
       }
     }

+ 2 - 2
theme.toml

@@ -8,8 +8,8 @@ description = "A simple hugo theme for personal portfolio"
 homepage = "https://toha.netlify.app/"
 tags = ["Responsive","Blog", "Portfolio"]
 features = []
-min_version = "0.41.0"
+min_version = "0.68.0"
 
 [author]
   name = "Emruz Hossain"
-  homepage = "hossainemruz.github.io"
+  homepage = "https://hossainemruz.github.io"