Skip to content

Commit

Permalink
Merge pull request #37 from Treme-cmd/main
Browse files Browse the repository at this point in the history
Makes generated html files fill the screen
  • Loading branch information
ethanaobrien authored Aug 17, 2024
2 parents ed5a80b + 0748937 commit 8004006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function editorMain() {
}

let zipOut = true;
let fileData = '<html>\n <head>\n <!--HTML file auto generated using EmulatorJS codehelper-->\n </head>\n <body>\n <div style="width:640px;height:480px;max-width:100%">\n <div id="game"></div>\n </div>\n <script>\n';
let fileData = '<html>\n <head>\n <!--HTML file auto generated using EmulatorJS codehelper-->\n <style>\n body, html {\n margin: 0;\n padding: 0;\n }\n </style>\n </head>\n <body>\n <div style="width:100%;height:100%;max-width:100%">\n <div id="game"></div>\n </div>\n <script>\n';
const spaces = ' ';
if (!offline.checked) {
if (stateOnLoad.files[0]) {
Expand Down

0 comments on commit 8004006

Please sign in to comment.