diff --git a/client/src/components/History/HistoryScrollList.vue b/client/src/components/History/HistoryScrollList.vue index 35f1ec23e268..55d3e4f8da59 100644 --- a/client/src/components/History/HistoryScrollList.vue +++ b/client/src/components/History/HistoryScrollList.vue @@ -208,7 +208,7 @@ async function loadMore(noScroll = false) { :data-pk="history.id" button :class="{ - current: !isMultiviewPanel && history.id === currentHistoryId, + current: history.id === currentHistoryId, 'panel-item': isMultiviewPanel, }" :active="isActiveItem(history)" @@ -373,6 +373,10 @@ async function loadMore(noScroll = false) { display: flex; border-radius: 0; + &.current { + border-left: 0.25rem solid $brand-primary; + } + &.panel-item { justify-content: space-between; align-items: center; @@ -382,10 +386,6 @@ async function loadMore(noScroll = false) { } &:not(&.panel-item) { - &.current { - border-left: 0.25rem solid $brand-primary; - } - &:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; diff --git a/client/src/components/History/Multiple/MultipleViewList.vue b/client/src/components/History/Multiple/MultipleViewList.vue index 58b7f02af985..f32bb12449e3 100644 --- a/client/src/components/History/Multiple/MultipleViewList.vue +++ b/client/src/components/History/Multiple/MultipleViewList.vue @@ -1,4 +1,7 @@