diff --git a/app/assets/stylesheets/habits.css.scss b/app/assets/stylesheets/habits.css.scss index ea594b060e..360043d712 100644 --- a/app/assets/stylesheets/habits.css.scss +++ b/app/assets/stylesheets/habits.css.scss @@ -40,4 +40,6 @@ text-decoration:none; } -.up, .down { font-weight: bold; } \ No newline at end of file +.up, .down { font-weight: bold; } + +.edit { float:right; } diff --git a/app/views/habits/_habit.html.erb b/app/views/habits/_habit.html.erb index d456bd9dbb..d8213ed172 100644 --- a/app/views/habits/_habit.html.erb +++ b/app/views/habits/_habit.html.erb @@ -12,5 +12,5 @@ <%= habit.name %> <% end %> <% end %> - <%= link_to 'Edit', edit_habit_path(habit) %> + <%= link_to 'Edit', edit_habit_path(habit), :class=>'edit' %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 618e999b3b..907b2f2405 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -11,7 +11,7 @@