Fix spacing and vertical alignment on build status icon on commits page
This commit is contained in:
parent
6df51b35d5
commit
9cb3fcda28
3 changed files with 23 additions and 1 deletions
|
@ -52,6 +52,7 @@ v 8.11.0 (unreleased)
|
|||
- Gitlab::Metrics.current_transaction needs to be public for RailsQueueDuration
|
||||
- Fix search for notes which belongs to deleted objects
|
||||
- Add GitLab Workhorse version to admin dashboard (Katarzyna Kobierska Ula Budziszewska)
|
||||
- Fix spacing and vertical alignment on build status icon on commits page (ClemMakesApps)
|
||||
- Allow branch names ending with .json for graph and network page !5579 (winniehell)
|
||||
- Add the `sprockets-es6` gem
|
||||
- Multiple trigger variables show in separate lines (Katarzyna Kobierska Ula Budziszewska)
|
||||
|
|
|
@ -66,6 +66,26 @@
|
|||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.ci-status-link {
|
||||
margin-left: 2px;
|
||||
|
||||
svg {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.ci-status-label {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
|
||||
.ci-status-label {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ci-status-link {
|
||||
|
|
|
@ -56,7 +56,8 @@
|
|||
= pluralize(@commit.pipelines.count, 'pipeline')
|
||||
= link_to builds_namespace_project_commit_path(@project.namespace, @project, @commit.id), class: "ci-status-link ci-status-icon-#{@commit.status}" do
|
||||
= ci_icon_for_status(@commit.status)
|
||||
= ci_label_for_status(@commit.status)
|
||||
%span.ci-status-label
|
||||
= ci_label_for_status(@commit.status)
|
||||
- if @commit.pipelines.duration
|
||||
in
|
||||
= time_interval_in_words @commit.pipelines.duration
|
||||
|
|
Loading…
Reference in a new issue