mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 08:10: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 -%>
|
<% 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")) %>
|
:id => dom_id(note, "link")) %></div>
|
||||||
<%= rendered_note(note) %>
|
<div class="note_note"><%= rendered_note(note) %></div>
|
||||||
</div>
|
</div>
|
||||||
<% note = nil -%>
|
<% note = nil -%>
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue