diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue
index 2a4a6d77ff594..83933ef24dd01 100644
--- a/web_src/js/components/RepoActionView.vue
+++ b/web_src/js/components/RepoActionView.vue
@@ -268,6 +268,10 @@ const sfc = {
return ['success', 'skipped', 'failure', 'cancelled'].includes(status);
},
+ isExpandable(status) {
+ return ['success', 'running', 'failure', 'cancelled'].includes(status);
+ },
+
closeDropdown() {
if (this.menuVisible) this.menuVisible = false;
},
@@ -459,12 +463,12 @@ export function initRepositoryActionView() {
-
+
-
+
{{ jobStep.summary }}
@@ -715,13 +719,21 @@ export function initRepositoryActionView() {
}
.job-step-container .job-step-summary {
- cursor: pointer;
padding: 5px 10px;
display: flex;
align-items: center;
border-radius: var(--border-radius);
}
+.job-step-container .job-step-summary.step-expandable {
+ cursor: pointer;
+}
+
+.job-step-container .job-step-summary.step-expandable:hover {
+ color: var(--color-console-fg);
+ background-color: var(--color-console-hover-bg);
+}
+
.job-step-container .job-step-summary .step-summary-msg {
flex: 1;
}
@@ -730,12 +742,6 @@ export function initRepositoryActionView() {
margin-left: 16px;
}
-.job-step-container .job-step-summary:hover {
- color: var(--color-console-fg);
- background-color: var(--color-console-hover-bg);
-
-}
-
.job-step-container .job-step-summary.selected {
color: var(--color-console-fg);
background-color: var(--color-console-active-bg);