Skip to content

Commit

Permalink
use v-if and change names
Browse files Browse the repository at this point in the history
  • Loading branch information
HesterG committed May 22, 2023
1 parent 5a7659f commit 4904856
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions web_src/js/components/RepoActionView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</a>
<span class="job-brief-info">
<span class="step-summary-duration">{{ job.duration }}</span>
<SvgIcon name="octicon-sync" role="button" :data-tooltip-content="locale.rerun" class="job-brief-rerun gt-mx-3" @click="rerunJob(index)" v-show="job.canRerun && onHoverRerunIndex === job.id"/>
<SvgIcon name="octicon-sync" role="button" :data-tooltip-content="locale.rerun" class="job-brief-rerun gt-mx-3" @click="rerunJob(index)" v-if="job.canRerun && onHoverRerunIndex === job.id"/>
</span>
</div>
</div>
Expand Down Expand Up @@ -502,6 +502,15 @@ export function ansiLogToHTML(line) {
align-items: center;
}
.job-brief-item:hover {
background-color: var(--color-secondary);
}
.job-brief-item.selected {
font-weight: var(--font-weight-bold);
background-color: var(--color-secondary-dark-1);
}
.job-brief-item:first-of-type {
margin-top: 0;
}
Expand Down Expand Up @@ -541,15 +550,6 @@ export function ansiLogToHTML(line) {
width: 55px;
}
.job-brief-item:hover {
background-color: var(--color-secondary);
}
.job-group-section .job-brief-list .job-brief-item.selected {
font-weight: var(--font-weight-bold);
background-color: var(--color-secondary-dark-1);
}
/* ================ */
/* action view right */
Expand Down

0 comments on commit 4904856

Please sign in to comment.