mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
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:
commit
c8947519b7
2 changed files with 7 additions and 2 deletions
|
|
@ -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")) %>
|
||||
<%= rendered_note(note) %>
|
||||
:id => dom_id(note, "link")) %></div>
|
||||
<div class="note_note"><%= rendered_note(note) %></div>
|
||||
</div>
|
||||
<% note = nil -%>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue