Merge pull request #79 from maddentim/fixes

#1289 - tweak for project page note display to stop wrapping note around link icon
This commit is contained in:
Reinier Balt 2012-04-22 11:13:26 -07:00
commit c8947519b7
2 changed files with 7 additions and 2 deletions

View file

@ -1,11 +1,12 @@
<% note = notes_summary -%> <% note = notes_summary -%>
<div class="note_wrapper" id="<%= dom_id(note) %>"> <div class="note_wrapper" id="<%= dom_id(note) %>">
<div class="note_link">
<%= link_to( <%= link_to(
image_tag("blank.png", :border => 0), image_tag("blank.png", :border => 0),
note, note,
:title => t('notes.show_note_title'), :title => t('notes.show_note_title'),
:class => "link_to_notes icon", :class => "link_to_notes icon",
:id => dom_id(note, "link")) %>&nbsp; :id => dom_id(note, "link")) %></div>
<%= rendered_note(note) %> <div class="note_note"><%= rendered_note(note) %></div>
</div> </div>
<% note = nil -%> <% note = nil -%>

View file

@ -550,6 +550,10 @@ div.note_wrapper p {
display: inline; display: inline;
} }
div.note_note {
margin-left:24px;
}
div.note_footer { div.note_footer {
border-top: 1px solid #999; border-top: 1px solid #999;
padding-top: 3px; padding-top: 3px;