diff options
author | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-07-17 00:11:32 +0900 |
---|---|---|
committer | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-07-25 13:00:45 +0900 |
commit | 3951eb62705046fb2de6c836a82c1cad043d3036 (patch) | |
tree | 36a6b75f6e540e3cd7dbc55d04ae08be26a53cab /app/views | |
parent | d9ed329b8c4282e8b722034df22dc1949e46c732 (diff) | |
download | gitlab-ce-3951eb62705046fb2de6c836a82c1cad043d3036.tar.gz |
Use only CSS to truncate commit message in blame
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/blame/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml index f11afe8fc22..c7359d873d9 100644 --- a/app/views/projects/blame/show.html.haml +++ b/app/views/projects/blame/show.html.haml @@ -21,8 +21,8 @@ .commit = author_avatar(commit, size: 36) .commit-row-title - %strong - = link_to_gfm truncate(commit.title, length: 35), project_commit_path(@project, commit.id), class: "cdark" + %span.item-title.str-truncated-100 + = link_to_gfm commit.title, project_commit_path(@project, commit.id), class: "cdark", title: commit.title .pull-right = link_to commit.short_id, project_commit_path(@project, commit), class: "commit-sha" |