Update screenshot

This commit is contained in:
hossainemruz 2020-06-13 19:23:06 +06:00
parent 9ca1afca98
commit b18cf1d7cd
5 changed files with 6 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 KiB

After

Width:  |  Height:  |  Size: 417 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 256 KiB

Before After
Before After

View file

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

View file

@ -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;")
}
}
}

View file

@ -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"