summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/common.scss4
-rw-r--r--app/views/widgets/_project_member.html.haml3
-rw-r--r--app/views/wikis/show.html.haml2
3 files changed, 6 insertions, 3 deletions
diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss
index 19baf272eb6..9fd0f2eac20 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 1b1b70b73ca..5756ecc931d 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 685b76c4442..1395a5905f0 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