Commit 0ded38cc authored by dimitrieh's avatar dimitrieh

fixed points from comments to improve code quality

parent 55d28e56
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
.last-commit { .last-commit {
@include str-truncated(506px); @include str-truncated(506px);
.fa-angle-right {
margin-left: 5px;
}
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) { @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
@include str-truncated(450px); @include str-truncated(450px);
} }
......
...@@ -7,15 +7,12 @@ ...@@ -7,15 +7,12 @@
%th.hidden-xs %th.hidden-xs
.pull-left Last commit .pull-left Last commit
.last-commit.hidden-sm.pull-left .last-commit.hidden-sm.pull-left
 
%i.fa.fa-angle-right %i.fa.fa-angle-right
 
%small.light %small.light
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace" = link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace"
= clipboard_button(clipboard_text: @commit.id, title: "Copy commit SHA to clipboard") = clipboard_button(clipboard_text: @commit.id, title: "Copy commit SHA to clipboard")
= time_ago_with_tooltip(@commit.committed_date) = time_ago_with_tooltip(@commit.committed_date)
:plain \-
-
= @commit.full_title = @commit.full_title
%small.commit-history-link-spacer | %small.commit-history-link-spacer |
= link_to 'History', namespace_project_commits_path(@project.namespace, @project, @id), class: 'commit-history-link' = link_to 'History', namespace_project_commits_path(@project.namespace, @project, @id), class: 'commit-history-link'
......
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