Scroll error stack trace

Make sure we get the stack trace without distortions by wrapping, or
cropping because it flows out of the screen.
This commit is contained in:
Pierre Ossman 2017-06-15 13:49:27 +02:00
parent 55b459b479
commit 637a282be5
1 changed files with 3 additions and 1 deletions

View File

@ -263,14 +263,16 @@ select:active {
} }
#noVNC_fallback_error .noVNC_stack { #noVNC_fallback_error .noVNC_stack {
max-height: 50vh;
padding: 10px; padding: 10px;
margin: 10px; margin: 10px;
font-size: 0.8em; font-size: 0.8em;
text-align: left; text-align: left;
font-family: monospace; font-family: monospace;
white-space: pre-wrap; white-space: pre;
border: 1px solid rgba(0, 0, 0, 0.5); border: 1px solid rgba(0, 0, 0, 0.5);
background: rgba(0, 0, 0, 0.2); background: rgba(0, 0, 0, 0.2);
overflow: auto;
} }
/* ---------------------------------------- /* ----------------------------------------