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 -%>
<div class="note_wrapper" id="<%= dom_id(note) %>">
<div class="note_link">
<%= link_to(
image_tag("blank.png", :border => 0),
note,
:title => t('notes.show_note_title'),
:class => "link_to_notes icon",
:id => dom_id(note, "link")) %>&nbsp;
<%= rendered_note(note) %>
:id => dom_id(note, "link")) %></div>
<div class="note_note"><%= rendered_note(note) %></div>
</div>
<% note = nil -%>

View file

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