Commit eb7072de912ad57af3a650aec3300f41f16e0fb3

Authored by Dmitriy Zaporozhets
1 parent 2db94109

Fix avatar margin for files view

app/assets/stylesheets/sections/tree.scss
... ... @@ -65,11 +65,6 @@
65 65  
66 66 .tree_author {
67 67 padding-right: 8px;
68   -
69   - img.avatar {
70   - margin-top: 0;
71   - width: 16px;
72   - }
73 68 }
74 69  
75 70 .tree_commit {
... ...
app/views/projects/tree/_tree_commit_column.html.haml
1   -%span.tree_author= commit_author_link(commit, avatar: true)
  1 +%span.tree_author= commit_author_link(commit, avatar: true, size: 16)
2 2 = link_to_gfm truncate(commit.title, length: 80), project_commit_path(@project, commit.id), class: "tree-commit-link"
... ...