From c33621051813926a667a93f75ede20a62eea8c3b Mon Sep 17 00:00:00 2001 From: echarp Date: Tue, 1 Jul 2014 19:08:38 +0200 Subject: [PATCH] Petits changements, surtout d'apparence --- app/assets/stylesheets/all.css.sass | 2 +- app/views/events/show.html.haml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/all.css.sass b/app/assets/stylesheets/all.css.sass index a2e2055f..f9c385e9 100644 --- a/app/assets/stylesheets/all.css.sass +++ b/app/assets/stylesheets/all.css.sass @@ -123,7 +123,6 @@ main input, textarea, select, a.button color: black margin: 3px 0 - cursor: pointer border: 1px solid #868686 font-family: georgia, serif @include border-radius(0.1em) @@ -132,6 +131,7 @@ main &[type=submit], &.button color: black border: none + cursor: pointer padding: 0.2em 0.6em font-size: larger line-height: 1.1em diff --git a/app/views/events/show.html.haml b/app/views/events/show.html.haml index f2c6a599..8abc59de 100644 --- a/app/views/events/show.html.haml +++ b/app/views/events/show.html.haml @@ -43,9 +43,10 @@ %h3=t '.description' .description - = sanitize @event.description, - tags: %w(p br table tr td ul ol li a strong b em i img), - attributes: %w(href src width height) + :markdown + #{sanitize @event.description, + tags: %w(p br table tr td ul ol li a strong b em i img), + attributes: %w(href src width height)} %h3=t '.infos' %p