Skip to content

Commit

Permalink
Set overflow hidden in iframe URL
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Oct 14, 2024
1 parent f3f39c2 commit 41db590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<iframe id="headerCardsIframe" style="width: 100%; overflow: hidden;" src="https://site.usegalaxy.org.au/embed/home/snippets/header-cards.html"></iframe>
<iframe id="headerCardsIframe" style="width: 100%;" src="https://site.usegalaxy.org.au/embed/home/snippets/header-cards.html?overflow=hidden"></iframe>
<script>
window.addEventListener("message", function(event) {
document.getElementById('headerCardsIframe').style.height = event.data.height + 'px';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<iframe id="footerIframe" style="width: 100%; overflow: hidden;" src="https://site.usegalaxy.org.au/embed/home/snippets/footer.html"></iframe>
<iframe id="footerIframe" style="width: 100%;" src="https://site.usegalaxy.org.au/embed/home/snippets/footer.html?overflow=hidden"></iframe>
<script>
window.addEventListener("message", function(event) {
document.getElementById('footerIframe').style.height = event.data.height + 'px';
Expand Down

0 comments on commit 41db590

Please sign in to comment.