From 16fc6b8e8cf101a94bfb7fc7c67ab1d8c992c883 Mon Sep 17 00:00:00 2001 From: Robb Hamilton Date: Tue, 15 May 2018 16:26:25 -0400 Subject: [PATCH] Fix bug where timeline border appeared when empty --- frontend/public/components/_sysevent-stream.scss | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/frontend/public/components/_sysevent-stream.scss b/frontend/public/components/_sysevent-stream.scss index 54cd46c8b78..81511efc5df 100644 --- a/frontend/public/components/_sysevent-stream.scss +++ b/frontend/public/components/_sysevent-stream.scss @@ -25,13 +25,6 @@ $color-dark-border: #ddd; top: 35px; } -.co-sysevent-stream__timeline--empty { - border: none; - .co-sysevent-stream__timeline__end-message { - display: none; - } -} - .co-sysevent-stream__status { display: flex; justify-content: space-between; @@ -58,6 +51,9 @@ $color-dark-border: #ddd; transform: translateY(50%); white-space: nowrap; z-index: 1; + .co-sysevent-stream__timeline--empty & { + display: none; + } } .co-sysevent-stream__timeline__btn { @@ -160,6 +156,9 @@ $color-dark-border: #ddd; border-bottom: 3px solid $color-grey-border; border-left: 3px solid $color-grey-border; margin-left: 10px; + &--empty { + border: 0; + } } .co-sysevent-stream__timeline__btn {