diff --git a/ui/app/components/job-status/deployment-history.hbs b/ui/app/components/job-status/deployment-history.hbs index fcccbdc8b..2ba143901 100644 --- a/ui/app/components/job-status/deployment-history.hbs +++ b/ui/app/components/job-status/deployment-history.hbs @@ -28,6 +28,7 @@ {{/unless}} {{#unless this.isHidden}} +
    {{#each this.history as |deployment-log|}}
  1. @@ -71,5 +72,6 @@ {{/if}} {{/each}}
+
{{/unless}} diff --git a/ui/app/styles/components/job-status-panel.scss b/ui/app/styles/components/job-status-panel.scss index a26eb154f..0348c366f 100644 --- a/ui/app/styles/components/job-status-panel.scss +++ b/ui/app/styles/components/job-status-panel.scss @@ -413,33 +413,33 @@ max-width: unset; } } - & > ol { + .timeline-container { max-height: 300px; overflow-y: auto; - } - & > ol > li { - @for $i from 1 through 50 { - &:nth-child(#{$i}) { - animation-name: historyItemSlide; - animation-duration: 0.2s; - animation-fill-mode: both; - animation-delay: 0.1s + (0.05 * $i); + & > ol > li { + @for $i from 1 through 50 { + &:nth-child(#{$i}) { + animation-name: historyItemSlide; + animation-duration: 0.2s; + animation-fill-mode: both; + animation-delay: 0.1s + (0.05 * $i); + } + + &:nth-child(#{$i}) > div { + animation-name: historyItemShine; + animation-duration: 1s; + animation-fill-mode: both; + animation-delay: 0.1s + (0.05 * $i); + } } - &:nth-child(#{$i}) > div { - animation-name: historyItemShine; - animation-duration: 1s; - animation-fill-mode: both; - animation-delay: 0.1s + (0.05 * $i); + & > div { + gap: 0.5rem; + } + &.error > div { + border: 1px solid $danger; + background: lighten($danger, 45%); } - } - - & > div { - gap: 0.5rem; - } - &.error > div { - border: 1px solid $danger; - background: rgba($danger, 0.1); } } } diff --git a/ui/app/styles/components/timeline.scss b/ui/app/styles/components/timeline.scss index 85d054064..d3e6d6cc3 100644 --- a/ui/app/styles/components/timeline.scss +++ b/ui/app/styles/components/timeline.scss @@ -54,6 +54,10 @@ .timeline-object { margin-bottom: 1em; + &:last-child { + margin-bottom: 0; + } + > .boxed-section { margin-bottom: 0; }