From 3c7806c3f29e0c2cdbb0c973a9180296267815cb Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 11 Nov 2012 00:08:42 +0200 Subject: [PATCH] Improve lists. Remove unneccessary padding --- app/assets/stylesheets/gitlab_bootstrap/lists.scss | 2 +- app/assets/stylesheets/sections/events.scss | 1 + app/views/commits/_commit.html.haml | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/gitlab_bootstrap/lists.scss b/app/assets/stylesheets/gitlab_bootstrap/lists.scss index 96bdfc91164..4fe45ecc277 100644 --- a/app/assets/stylesheets/gitlab_bootstrap/lists.scss +++ b/app/assets/stylesheets/gitlab_bootstrap/lists.scss @@ -21,7 +21,7 @@ ul { .author { color: #999; } p { - padding-top:5px; + padding-top: 1px; margin:0; color:#222; img { diff --git a/app/assets/stylesheets/sections/events.scss b/app/assets/stylesheets/sections/events.scss index 99523639fe7..369ebc81e31 100644 --- a/app/assets/stylesheets/sections/events.scss +++ b/app/assets/stylesheets/sections/events.scss @@ -43,6 +43,7 @@ .event-body { p { color:#555; + padding-top: 5px; } .event-info { color:#666; diff --git a/app/views/commits/_commit.html.haml b/app/views/commits/_commit.html.haml index 8e96d16abaf..156ff1e9d85 100644 --- a/app/views/commits/_commit.html.haml +++ b/app/views/commits/_commit.html.haml @@ -4,8 +4,8 @@ %strong= link_to "Browse Code ยป", project_tree_path(@project, commit), class: "right" %p = link_to commit.short_id(8), project_commit_path(@project, commit), class: "commit_short_id" - %strong= commit.author_link avatar: true, size: 24 - %span.dash – + = commit.author_link avatar: true, size: 24 +   = link_to_gfm truncate(commit.title, length: 50), project_commit_path(@project, commit.id), class: "row_title" %span.committed_ago