From 9bc829d3975d70b3a7639a965aa8fbd7ee1f047f Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Wed, 16 Jan 2013 23:03:21 +0100 Subject: [PATCH] Fix markdown for note events --- app/assets/stylesheets/sections/events.scss | 9 ++++++++- app/views/events/event/_note.html.haml | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/sections/events.scss b/app/assets/stylesheets/sections/events.scss index bd6f68d6..7472cb09 100644 --- a/app/assets/stylesheets/sections/events.scss +++ b/app/assets/stylesheets/sections/events.scss @@ -40,7 +40,7 @@ } } .event-body { - p { + .commit p { color: #555; padding-top: 5px; } @@ -51,7 +51,14 @@ padding-top: 5px; padding-left: 5px; display: inline-block; + color: #555; + } + .event-note-icon { color: #777; + float: left; + font-size: 16px; + line-height: 18px; + margin: 5px; } } .avatar { diff --git a/app/views/events/event/_note.html.haml b/app/views/events/event/_note.html.haml index 655178e1..0f8f9274 100644 --- a/app/views/events/event/_note.html.haml +++ b/app/views/events/event/_note.html.haml @@ -19,6 +19,6 @@ = event.project_name .event-body + %i.icon-comment-alt.event-note-icon %span.event-note - %i.icon-comment-alt - = gfm truncate(event.target.note, length: 70) + = markdown truncate(event.target.note, length: 70)