summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-07 16:56:02 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-07 16:56:02 +0300
commiteb7072de912ad57af3a650aec3300f41f16e0fb3 (patch)
treed7635a5193d8b47dc5ff2a50b60db00856333d81
parent2db9410945049c20b2245750f2bba06b63b95755 (diff)
downloadgitlab-ce-eb7072de912ad57af3a650aec3300f41f16e0fb3.tar.gz
Fix avatar margin for files view
-rw-r--r--app/assets/stylesheets/sections/tree.scss5
-rw-r--r--app/views/projects/tree/_tree_commit_column.html.haml2
2 files changed, 1 insertions, 6 deletions
diff --git a/app/assets/stylesheets/sections/tree.scss b/app/assets/stylesheets/sections/tree.scss
index 2a84741f0d6..96f2a5711fa 100644
--- a/app/assets/stylesheets/sections/tree.scss
+++ b/app/assets/stylesheets/sections/tree.scss
@@ -65,11 +65,6 @@
.tree_author {
padding-right: 8px;
-
- img.avatar {
- margin-top: 0;
- width: 16px;
- }
}
.tree_commit {
diff --git a/app/views/projects/tree/_tree_commit_column.html.haml b/app/views/projects/tree/_tree_commit_column.html.haml
index 7ae2582c130..67b5b2b96e2 100644
--- a/app/views/projects/tree/_tree_commit_column.html.haml
+++ b/app/views/projects/tree/_tree_commit_column.html.haml
@@ -1,2 +1,2 @@
-%span.tree_author= commit_author_link(commit, avatar: true)
+%span.tree_author= commit_author_link(commit, avatar: true, size: 16)
= link_to_gfm truncate(commit.title, length: 80), project_commit_path(@project, commit.id), class: "tree-commit-link"