diff options
author | dimitrieh <dimitriehoekstra@gmail.com> | 2017-01-25 23:48:04 +0300 |
---|---|---|
committer | dimitrieh <dimitriehoekstra@gmail.com> | 2017-01-25 23:48:04 +0300 |
commit | 0ded38cc6a694f250bc4075ef112f063934fbcd2 (patch) | |
tree | 50a60120cedab342c37df7b39579ceacf6eba607 /app | |
parent | 55d28e56846b5c68fa4a2df23c3d6cbf0f320620 (diff) |
fixed points from comments to improve code quality
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/pages/tree.scss | 4 | ||||
-rw-r--r-- | app/views/projects/tree/_tree_content.html.haml | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/app/assets/stylesheets/pages/tree.scss b/app/assets/stylesheets/pages/tree.scss index 4cce1c363eb..948921efc0b 100644 --- a/app/assets/stylesheets/pages/tree.scss +++ b/app/assets/stylesheets/pages/tree.scss @@ -32,6 +32,10 @@ .last-commit { @include str-truncated(506px); + .fa-angle-right { + margin-left: 5px; + } + @media (min-width: $screen-md-min) and (max-width: $screen-md-max) { @include str-truncated(450px); } diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml index e06538cf078..6855c463c6d 100644 --- a/app/views/projects/tree/_tree_content.html.haml +++ b/app/views/projects/tree/_tree_content.html.haml @@ -7,15 +7,12 @@ %th.hidden-xs .pull-left Last commit .last-commit.hidden-sm.pull-left - %i.fa.fa-angle-right - %small.light = 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") = time_ago_with_tooltip(@commit.committed_date) - :plain - - + \- = @commit.full_title %small.commit-history-link-spacer | = link_to 'History', namespace_project_commits_path(@project.namespace, @project, @id), class: 'commit-history-link' |