diff --git a/src/app/shared/task-execution-viewer/task-execution-viewer.css b/src/app/shared/task-execution-viewer/task-execution-viewer.css index 4965fef..df24a5d 100644 --- a/src/app/shared/task-execution-viewer/task-execution-viewer.css +++ b/src/app/shared/task-execution-viewer/task-execution-viewer.css @@ -968,3 +968,11 @@ background: #f8fafc; padding: 6px 8px; } + +/* + * A tree grows and shrinks as its nodes are opened and closed. Sized to its content, the modal - + * centred on the page - would jump with every click; at a fixed height only its content scrolls. + */ +.execution-json-modal { + height: 90vh; +} diff --git a/src/app/shared/task-execution-viewer/task-execution-viewer.html b/src/app/shared/task-execution-viewer/task-execution-viewer.html index b816c8f..c1bf5b1 100644 --- a/src/app/shared/task-execution-viewer/task-execution-viewer.html +++ b/src/app/shared/task-execution-viewer/task-execution-viewer.html @@ -653,7 +653,8 @@ @if (outputPreviewModal(); as outputModal) {