Skip to content

Commit

Permalink
[web] Fix undesired scrollbars on shell files (raysan5#4104)
Browse files Browse the repository at this point in the history
  • Loading branch information
jspast authored Jun 25, 2024
1 parent 0979eaf commit 37205bb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/minshell.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@
<link rel="shortcut icon" href="https://www.raylib.com/favicon.ico">

<style>
body { margin: 0px; }
canvas.emscripten { border: 0px none; background-color: black; }
body {
margin: 0px;
overflow: hidden;
background-color: black;
}
canvas.emscripten { border: 0px none; background-color: black;}
</style>
<script type='text/javascript' src="https://cdn.jsdelivr.net/gh/eligrey/FileSaver.js/dist/FileSaver.min.js"> </script>
<script type='text/javascript'>
Expand Down
5 changes: 5 additions & 0 deletions src/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@
}

#output {
border-left: 0px none;
border-right: 0px none;
border-bottom: 0px none;
padding-left: 0;
padding-right: 0;
width: 100%;
height: 140px;
margin: 0 auto;
Expand Down

0 comments on commit 37205bb

Please sign in to comment.