Skip to content

Commit

Permalink
Update startup.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkPool-SP authored Jan 14, 2025
1 parent 9fb2db0 commit 4fc0896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ function showMediaEditor(namespace, fileType) {
children[0].style.display = "none";
children[1].style.display = "";
const value = JSON.parse(e.target.value);
const baseW = window.innerWidth / 5;
const baseW = 200;
iframe.style.width = `${baseW}px`;
iframe.style.height = `${Math.round((baseW / value[0]) * value[1])}px`;

Expand Down

0 comments on commit 4fc0896

Please sign in to comment.