From a7a504157fa3e97cd7b0fd76b4af83ad40b78623 Mon Sep 17 00:00:00 2001 From: Jacob Schatz Date: Wed, 18 May 2016 10:18:16 -0500 Subject: [PATCH] Use line-height instead of height. --- app/assets/stylesheets/pages/commit.scss | 4 ++-- app/views/projects/commit/_commit_box.html.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/pages/commit.scss b/app/assets/stylesheets/pages/commit.scss index 41e19564726..35ab28b3fea 100644 --- a/app/assets/stylesheets/pages/commit.scss +++ b/app/assets/stylesheets/pages/commit.scss @@ -25,9 +25,9 @@ } .commit-info-row { - height: 36px; - padding-top: 6px; margin-bottom: 10px; + line-height: 24px; + padding-top: 6px; &.commit-info-row-header { line-height: 34px; diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml index b117517c0dd..e2fa2f97d41 100644 --- a/app/views/projects/commit/_commit_box.html.haml +++ b/app/views/projects/commit/_commit_box.html.haml @@ -9,7 +9,7 @@ %span.btn.disabled.btn-grouped.hidden-xs = icon('comment') = @notes_count - = link_to namespace_project_tree_path(@project.namespace, @project, @commit), class: "btn btn-grouped hidden-xs hidden-sm" do + = link_to namespace_project_tree_path(@project.namespace, @project, @commit), class: "btn btn-default append-right-10 hidden-xs hidden-sm" do Browse Files .dropdown.inline %a.btn.btn-default.dropdown-toggle{ data: { toggle: "dropdown" } } -- GitLab