Set image dimensions in order to avoid a reflow after the page is drawn by the browser
This commit is contained in:
parent
a5f4124681
commit
22c1be4db7
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@
|
|||
<tr<% if note.author == @user %> class="creator"<% end %>>
|
||||
<td>
|
||||
<% if note.closed? %>
|
||||
<%= image_tag("closed_note_marker.png", :alt => "closed") %>
|
||||
<%= image_tag("closed_note_marker.png", :alt => "closed", :size => "25x40") %>
|
||||
<% else %>
|
||||
<%= image_tag("open_note_marker.png", :alt => "open") %>
|
||||
<%= image_tag("open_note_marker.png", :alt => "open", :size => "25x40") %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td><%= link_to note.id, browse_note_path(note) %></td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue