diff options
author | Sven Strickroth <email@cs-ware.de> | 2015-04-26 20:01:43 +0200 |
---|---|---|
committer | Sven Strickroth <email@cs-ware.de> | 2015-08-05 00:12:13 +0200 |
commit | ee0fc2c3ad9608db91175e082fe1f6da19a3aec7 (patch) | |
tree | 12322778115d7396e90a82a5c81a92bda47839f7 | |
parent | 8ec7025a5d49548c1876440c1bd9b767828a5f56 (diff) | |
download | gitlab-ce-ee0fc2c3ad9608db91175e082fe1f6da19a3aec7.tar.gz |
Put author name at the end of a tree row
Signed-off-by: Sven Strickroth <email@cs-ware.de>
-rw-r--r-- | app/assets/stylesheets/pages/tree.scss | 6 | ||||
-rw-r--r-- | app/views/projects/tree/_tree_commit_column.html.haml | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/app/assets/stylesheets/pages/tree.scss b/app/assets/stylesheets/pages/tree.scss index 34ee4d7b31e..642bcd943aa 100644 --- a/app/assets/stylesheets/pages/tree.scss +++ b/app/assets/stylesheets/pages/tree.scss @@ -60,11 +60,7 @@ } .tree_author { - padding-right: 8px; - - .commit-author-name { - color: gray; - } + padding-left: 8px; } .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 50521264a61..86a80703072 100644 --- a/app/views/projects/tree/_tree_commit_column.html.haml +++ b/app/views/projects/tree/_tree_commit_column.html.haml @@ -1,3 +1,6 @@ %span.str-truncated - %span.tree_author= commit_author_link(commit, avatar: true, size: 16) = link_to_gfm commit.title, namespace_project_commit_path(@project.namespace, @project, commit.id), class: "tree-commit-link" + %span.tree_author + [ + commit_author_link(commit, avatar: false) + ] |