Skip to content

Commit

Permalink
fix(stlite): Update width for update
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed Dec 15, 2024
1 parent aaefa30 commit 10a0dbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/atsphinx/toybox/stlite/view.html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
if (height) {
div.style.height = `${height}px`;
iframe.style.height = `${height}px`;
iframe.style.width = `${div.scrollWidth}px`;
}
});
</script>

0 comments on commit 10a0dbb

Please sign in to comment.