Use monospace font for commit SHA in branch list

This commit is contained in:
Douwe Maan 2015-12-02 14:54:58 +01:00
parent 90df3701e7
commit a3da3d8e3b
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
.branch-commit
= link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit-id"
= link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit-id monospace"
·
%span.str-truncated
= link_to_gfm commit.title, namespace_project_commit_path(project.namespace, project, commit.id), class: "commit-row-message"

View File

@ -12,7 +12,7 @@
%i.fa.fa-angle-right
 
%small.light
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit)
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace"
–
= truncate(@commit.title, length: 50)
= link_to 'History', namespace_project_commits_path(@project.namespace, @project, @id), class: 'pull-right'