Skip to content

Commit

Permalink
Merge pull request #41 from theohbrothers/fix/gallery-fix-stretchx-im…
Browse files Browse the repository at this point in the history
…age-heights

Fix (gallery): Fix stretchx image heights
  • Loading branch information
leojonathanoh authored Oct 28, 2022
2 parents 12de51f + 6bf46f1 commit a32846b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webize
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ cat - >> "$INDEX_HTM" <<'EOF'
for (var i = 0; i < images.length; i++) {
images[i].parentNode.style.display = "inline-block";
images[i].parentNode.style.width = "100vw";
images[i].parentNode.style.height = "100vh";
images[i].parentNode.style.height = "auto";
images[i].style.width = "100%";
images[i].style.height = "auto";
}
Expand Down

0 comments on commit a32846b

Please sign in to comment.