Skip to content

Commit 37205bb

Browse files
authored
[web] Fix undesired scrollbars on shell files (#4104)
1 parent 0979eaf commit 37205bb

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Diff for: src/minshell.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@
3434
<link rel="shortcut icon" href="https://www.raylib.com/favicon.ico">
3535

3636
<style>
37-
body { margin: 0px; }
38-
canvas.emscripten { border: 0px none; background-color: black; }
37+
body {
38+
margin: 0px;
39+
overflow: hidden;
40+
background-color: black;
41+
}
42+
canvas.emscripten { border: 0px none; background-color: black;}
3943
</style>
4044
<script type='text/javascript' src="https://cdn.jsdelivr.net/gh/eligrey/FileSaver.js/dist/FileSaver.min.js"> </script>
4145
<script type='text/javascript'>

Diff for: src/shell.html

+5
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@
141141
}
142142

143143
#output {
144+
border-left: 0px none;
145+
border-right: 0px none;
146+
border-bottom: 0px none;
147+
padding-left: 0;
148+
padding-right: 0;
144149
width: 100%;
145150
height: 140px;
146151
margin: 0 auto;

0 commit comments

Comments
 (0)