Fix icon alignment
This commit is contained in:
parent
87ee876307
commit
b24c57d03d
2 changed files with 6 additions and 1 deletions
|
@ -139,6 +139,11 @@
|
|||
.icon-container {
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
|
||||
&.commit-icon {
|
||||
width: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.stage-cell {
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
= pipeline.tag? ? icon('tag') : icon('code-fork')
|
||||
= link_to pipeline.ref, namespace_project_commits_path(pipeline.project.namespace, pipeline.project, pipeline.ref), class: "monospace branch-name"
|
||||
- if show_commit
|
||||
.icon-container
|
||||
.icon-container.commit-icon
|
||||
= custom_icon("icon_commit")
|
||||
= link_to pipeline.short_sha, namespace_project_commit_path(pipeline.project.namespace, pipeline.project, pipeline.sha), class: "commit-id monospace"
|
||||
|
||||
|
|
Loading…
Reference in a new issue