inset fix
This commit is contained in:
parent
11cceb4c30
commit
193d519bd0
2 changed files with 3 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ services:
|
|||
TELNET_LOGIN: /bin/login
|
||||
ENABLE_HTTP_CONSOLE: ${ENABLE_HTTP_CONSOLE:-1}
|
||||
DOS_HTTP_PORT: ${DOS_HTTP_PORT:-8080}
|
||||
DOS_HTTP_CRT: 0
|
||||
volumes:
|
||||
- ./allowed_repo:/opt/allowed_repo:z
|
||||
- ./config/dos_allowed:/etc/dos_allowed:ro,z
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ HTML_PAGE = """<!DOCTYPE html>
|
|||
.crt-display::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -8%;
|
||||
inset: -0.1%;
|
||||
pointer-events: none;
|
||||
background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.75) 100%);
|
||||
mix-blend-mode: multiply;
|
||||
|
|
@ -172,7 +172,7 @@ HTML_PAGE = """<!DOCTYPE html>
|
|||
const CHAR_HEIGHT = 16;
|
||||
const VIEWPORT_WIDTH = 640;
|
||||
const VIEWPORT_HEIGHT = 400;
|
||||
const BASE_VERTICAL_STRETCH = CRT_ENABLED ? 1.2 : 1;
|
||||
const BASE_VERTICAL_STRETCH = 1.2;
|
||||
const TARGET_ROW_HEIGHT = VIEWPORT_HEIGHT / ROWS;
|
||||
|
||||
const terminalHost = document.getElementById("terminal");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue