Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorejb committed Nov 29, 2023
1 parent b83cf9c commit 04d2f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function popupResult(src, viewport) {
if (bodyEl === null) {
throw new Error("bodyEl is null");
}
bodyEl.innerHTML = `<img src="${src}" class="img-fluid ${imgClass}" width="320" />`;
bodyEl.innerHTML = `<img src="${src}" class="${imgClass}" style="max-width: min(100%, 320px); max-height: 320px;" />`;
resultModal.show();
}
let photos = [
Expand Down

0 comments on commit 04d2f08

Please sign in to comment.