diff options
author | Pierre Ossman <ossman@cendio.se> | 2022-10-11 13:47:53 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2022-10-11 13:47:53 +0200 |
commit | 615b36a067c9e99a5646d42521efcea7ade7c345 (patch) | |
tree | 49da22dbe80bbca967d4566e4d2ead5f0ec348a1 | |
parent | 6f55527514f7d78fa55bfaab2c9c163747606716 (diff) | |
download | novnc-615b36a067c9e99a5646d42521efcea7ade7c345.tar.gz |
Handle crash dialog overflow better
Avoid making assumptions on how much space is available for the stack
dump, and instead handle the overflow on the top element.
-rw-r--r-- | app/styles/base.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/styles/base.css b/app/styles/base.css index 5489028..8e77792 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -297,7 +297,10 @@ select:active { } #noVNC_fallback_error > div { - max-width: 90%; + max-width: calc(100vw - 30px - 30px); + max-height: calc(100vh - 30px - 30px); + overflow: auto; + padding: 15px; transition: 0.5s ease-in-out; @@ -336,7 +339,6 @@ select:active { } #noVNC_fallback_error .noVNC_stack { - max-height: 50vh; padding: 10px; margin: 10px; font-size: 0.8em; |