Skip to content

Commit

Permalink
Fixed unreachable buttons at a very specific screen width
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmike committed May 8, 2014
1 parent 3e836bb commit 07bbc1e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions app/views/projects/show.html.haml
Expand Up @@ -4,14 +4,16 @@
- content_for :description do
= @project.description

%h1
= @project.full_name
%small= link_to glyph(:github), @project.github_url, target: '_blank'
.pull-right
- if can? :update, @project
= link_to "Change project settings", edit_project_path(@project), class: "btn btn-primary"
- if can? :decide_tip_amounts, @project and @project.has_undecided_tips?
= link_to "Decide tip amounts", decide_tip_amounts_project_path(@project), class: "btn btn-warning"
.row
.col-md-12
%h1
= @project.full_name
%small= link_to glyph(:github), @project.github_url, target: '_blank'
.pull-right
- if can? :update, @project
= link_to "Change project settings", edit_project_path(@project), class: "btn btn-primary"
- if can? :decide_tip_amounts, @project and @project.has_undecided_tips?
= link_to "Decide tip amounts", decide_tip_amounts_project_path(@project), class: "btn btn-warning"

.row
.col-md-4
Expand Down

0 comments on commit 07bbc1e

Please sign in to comment.