Fix icon alignment

This commit is contained in:
Annabel Dunstone Gray 2016-10-07 16:21:08 -05:00
parent 87ee876307
commit b24c57d03d
2 changed files with 6 additions and 1 deletions

View file

@ -139,6 +139,11 @@
.icon-container {
display: inline-block;
width: 10px;
&.commit-icon {
width: 15px;
text-align: center;
}
}
.stage-cell {

View file

@ -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"