diff --git a/app/assets/stylesheets/sections/commits.scss b/app/assets/stylesheets/sections/commits.scss index f6ba82a9bcf89dd7b5c4f9f245003bae9e814b89..51a307e4d4e5ef7d1242ca7c7e3b2f6f5eff6928 100644 --- a/app/assets/stylesheets/sections/commits.scss +++ b/app/assets/stylesheets/sections/commits.scss @@ -348,7 +348,7 @@ .notes_count { float: right; - margin: -6px 8px 6px; + margin-right: 10px; } code { diff --git a/app/views/commits/_commit.html.haml b/app/views/commits/_commit.html.haml index 65d920305b12448997ceca6e6e907368ba356bc4..eba6c206c465368c81f1f565e4e97d0b233a9d39 100644 --- a/app/views/commits/_commit.html.haml +++ b/app/views/commits/_commit.html.haml @@ -16,6 +16,6 @@ %span.notes_count - notes = @project.notes.for_commit_id(commit.id) - if notes.any? - %span.btn.disabled.grouped + %span.badge.badge-info %i.icon-comment = notes.count