Project

General

Profile

« Previous | Next » 

Revision 5fd9510f

Added by Marc Dequènes almost 16 years ago

  • ID 5fd9510f706981ed1008c4e55a65e115d616c091

[evol] added a small margin around image in the 'latest 10 artworks' page

View differences:

app/views/welcome/index.rhtml
# reload to ensure joint objects are well loaded
artwork = Artwork.find(artwork.id)
%>
<div style="float: left; text-align: center;"><div><%= display_thumbnail(artwork.image, :thumb_big) %></div><%= artwork.title %></div>
<div style="float: left; text-align: center; margin: 7px;"><div><%= display_thumbnail(artwork.image, :thumb_big) %></div><%= artwork.title %></div>
<% end %>
<br style="clear: both;"/>
</p>

Also available in: Unified diff