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 b94e311..3c5a1ea 100644 --- a/src/app/shared/task-execution-viewer/task-execution-viewer.css +++ b/src/app/shared/task-execution-viewer/task-execution-viewer.css @@ -522,12 +522,28 @@ display: flex; align-items: center; gap: 0.375rem; - margin-bottom: 0.375rem; + width: 100%; + padding: 0; + border: none; + background: transparent; color: #166534; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; + cursor: pointer; + text-align: left; +} + +/* Collapsed, the codes stand in for the payload so the conclusion is never hidden entirely. */ +.execution-outcomes-summary { + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + color: #15803d; + font-weight: 700; + text-transform: none; } .execution-outcomes-title .mat-icon { @@ -537,6 +553,10 @@ line-height: 16px; } +.execution-outcome:first-of-type { + margin-top: 0.375rem; +} + .execution-outcome + .execution-outcome { margin-top: 0.5rem; padding-top: 0.5rem; 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 5485b68..e346bb8 100644 --- a/src/app/shared/task-execution-viewer/task-execution-viewer.html +++ b/src/app/shared/task-execution-viewer/task-execution-viewer.html @@ -97,11 +97,20 @@ } @if (outcomes().length) {