From ee0fc2c3ad9608db91175e082fe1f6da19a3aec7 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 26 Apr 2015 20:01:43 +0200 Subject: [PATCH] Put author name at the end of a tree row Signed-off-by: Sven Strickroth --- app/assets/stylesheets/pages/tree.scss | 6 +----- 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) + ]