diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 19baf272..9fd0f2ea 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -370,3 +370,7 @@ table a code { .span12 hr{ margin-top: 5px; } + +.btn.padded { + margin-right:3px; +} diff --git a/app/views/widgets/_project_member.html.haml b/app/views/widgets/_project_member.html.haml index 1b1b70b7..5756ecc9 100644 --- a/app/views/widgets/_project_member.html.haml +++ b/app/views/widgets/_project_member.html.haml @@ -25,9 +25,8 @@ %br %br - if @project.merge_requests_enabled - = link_to new_project_merge_request_path(@project), :title => "New Merge Request", :class => "btn small" do + = link_to new_project_merge_request_path(@project), :title => "New Merge Request", :class => "btn small padded" do Merge Request -   - if @project.issues_enabled = link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do Issue diff --git a/app/views/wikis/show.html.haml b/app/views/wikis/show.html.haml index 685b76c4..1395a590 100644 --- a/app/views/wikis/show.html.haml +++ b/app/views/wikis/show.html.haml @@ -2,7 +2,7 @@ = @wiki.title %span.right - if can? current_user, :write_wiki, @project - = link_to history_project_wiki_path(@project, @wiki), :class => "btn small" do + = link_to history_project_wiki_path(@project, @wiki), :class => "btn small padded" do History = link_to edit_project_wiki_path(@project, @wiki), :class => "btn small" do Edit