Skip to content

Commit

Permalink
Fix height of enhanced iFrames
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Dec 10, 2024
1 parent 7975c9f commit 452a0b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/embed/enhance.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ embeds.forEach((embed) => {
setupResizeEvent(iframe);

embed.appendChild(iframe);
iframe.style.height = iframe.clientHeight;
});

0 comments on commit 452a0b5

Please sign in to comment.