diff options
| author | jspast <[email protected]> | 2024-06-25 17:15:29 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-25 22:15:29 +0200 |
| commit | 37205bba84263c5168f7aaeef4da9c43c56a87e1 (patch) | |
| tree | 243a3eb33746cac5051afe421843ff694a0aa7d7 | |
| parent | 0979eafa84c7c5b330a99067411afbc9d5cd13b5 (diff) | |
| download | raylib-37205bba84263c5168f7aaeef4da9c43c56a87e1.tar.gz raylib-37205bba84263c5168f7aaeef4da9c43c56a87e1.zip | |
[web] Fix undesired scrollbars on shell files (#4104)
| -rw-r--r-- | src/minshell.html | 8 | ||||
| -rw-r--r-- | src/shell.html | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/minshell.html b/src/minshell.html index 38f3672b..4068ca36 100644 --- a/src/minshell.html +++ b/src/minshell.html @@ -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'> diff --git a/src/shell.html b/src/shell.html index 6effbcaa..51e675f4 100644 --- a/src/shell.html +++ b/src/shell.html @@ -141,6 +141,11 @@ jwE50AGjLCVuS8Yt4H7OgZLKK5EKOsLviEWJSL/+0uMi7gLUSBseYwqEbXvSHCec1CJvZPyHCmYQffaB } #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; |
