Skip to content

Commit

Permalink
fix to oversized icons in favourite list
Browse files Browse the repository at this point in the history
  • Loading branch information
stuzart committed Feb 12, 2018
1 parent ef77f97 commit be75eab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/favourites.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ ul.favourites li {
#add-favourites-zone {
max-height: 30em;
}

#favourite_list img {
max-height:40px;
}
2 changes: 1 addition & 1 deletion app/views/favourites/_gadget_list.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<%= help_icon("Drag an icon here to remember for future reference.") -%>
<% else %>
<% favourites.each do |fav| %>
<%= favourite_icon(fav, 30, :avatar_class => 'framed') %>
<%= favourite_icon(fav, 40, :avatar_class => 'framed') %>
<% end %>
<% end %>

Expand Down

0 comments on commit be75eab

Please sign in to comment.