Skip to content

Commit

Permalink
More stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Hamilton committed Feb 18, 2012
1 parent db442d4 commit 3dda571
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion app/assets/stylesheets/challenges.css.scss
Expand Up @@ -53,7 +53,11 @@ h2{

.summary, .controls{
width: auto;
float:none;
}

.controls{
float: right;
width: 90px;
}

.challenge_row{
Expand Down
4 changes: 2 additions & 2 deletions app/views/challenges/_challenge.html.erb
Expand Up @@ -7,8 +7,8 @@ challenge_row
<%= "complete " if challenge.complete(current_user, current_user.user_specific_gameplan) %>
<%= "pending " if challenge.pending(current_user, current_user.user_specific_gameplan) %>
">
<div class="summary"><%= challenge.summary %></div>
<div class="controls">
<div class="summary">
<%= challenge.summary %>
<% if challenge.required(current_user) %>
<span class="compulsory_label">(required)</span>
<% end %>
Expand Down

0 comments on commit 3dda571

Please sign in to comment.