Commit b24c57d0 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix icon alignment

parent 87ee8763
...@@ -139,6 +139,11 @@ ...@@ -139,6 +139,11 @@
.icon-container { .icon-container {
display: inline-block; display: inline-block;
width: 10px; width: 10px;
&.commit-icon {
width: 15px;
text-align: center;
}
} }
.stage-cell { .stage-cell {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
= pipeline.tag? ? icon('tag') : icon('code-fork') = 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" = link_to pipeline.ref, namespace_project_commits_path(pipeline.project.namespace, pipeline.project, pipeline.ref), class: "monospace branch-name"
- if show_commit - if show_commit
.icon-container .icon-container.commit-icon
= custom_icon("icon_commit") = custom_icon("icon_commit")
= link_to pipeline.short_sha, namespace_project_commit_path(pipeline.project.namespace, pipeline.project, pipeline.sha), class: "commit-id monospace" = link_to pipeline.short_sha, namespace_project_commit_path(pipeline.project.namespace, pipeline.project, pipeline.sha), class: "commit-id monospace"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment