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.
This commit is contained in:
Pierre Ossman
2022-10-11 13:47:53 +02:00
parent 6f55527514
commit 615b36a067

View File

@@ -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;