From 637a282be54f2c2e97aff6d94f4c2fe1a51e0b96 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 15 Jun 2017 13:49:27 +0200 Subject: [PATCH] Scroll error stack trace Make sure we get the stack trace without distortions by wrapping, or cropping because it flows out of the screen. --- app/styles/base.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/styles/base.css b/app/styles/base.css index dbab5ddf..d70c815b 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -263,14 +263,16 @@ select:active { } #noVNC_fallback_error .noVNC_stack { + max-height: 50vh; padding: 10px; margin: 10px; font-size: 0.8em; text-align: left; font-family: monospace; - white-space: pre-wrap; + white-space: pre; border: 1px solid rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.2); + overflow: auto; } /* ----------------------------------------