btn padded class

This commit is contained in:
Dmitriy Zaporozhets 2012-02-21 23:09:46 +02:00
parent fb17234b05
commit af82b6773b
3 changed files with 6 additions and 3 deletions

View file

@ -370,3 +370,7 @@ table a code {
.span12 hr{ .span12 hr{
margin-top: 5px; margin-top: 5px;
} }
.btn.padded {
margin-right:3px;
}

View file

@ -25,9 +25,8 @@
%br %br
%br %br
- if @project.merge_requests_enabled - 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 Merge Request
 
- if @project.issues_enabled - if @project.issues_enabled
= link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do = link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do
Issue Issue

View file

@ -2,7 +2,7 @@
= @wiki.title = @wiki.title
%span.right %span.right
- if can? current_user, :write_wiki, @project - 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 History
= link_to edit_project_wiki_path(@project, @wiki), :class => "btn small" do = link_to edit_project_wiki_path(@project, @wiki), :class => "btn small" do
Edit Edit