From 3c5f9b803ba32739befea325ec989dd250c9e8b2 Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 16 Jun 2019 17:08:21 +0200 Subject: [PATCH] Cleaner css --- app/assets/stylesheets/digest.sass | 2 +- app/views/digests/markdown.html.haml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/digest.sass b/app/assets/stylesheets/digest.sass index 72d6066e..80f64c10 100644 --- a/app/assets/stylesheets/digest.sass +++ b/app/assets/stylesheets/digest.sass @@ -11,7 +11,7 @@ body.digests main text-align: left // Some hack so the display is similar to the one on dlfp - .description, .second_part + .description, .second-part p white-space: pre-line diff --git a/app/views/digests/markdown.html.haml b/app/views/digests/markdown.html.haml index 917d7c36..2369f3d1 100644 --- a/app/views/digests/markdown.html.haml +++ b/app/views/digests/markdown.html.haml @@ -23,7 +23,7 @@ %hr -.second_part +.second-part :markdown #{second_part} @@ -90,8 +90,8 @@ value='fr' size='2') .field.description - %label(for='second_part') Seconde partie - %textarea#second_part(name='news[wiki_second_part]')= second_part + %label(for='second-part') Seconde partie + %textarea#second-part(name='news[wiki_second_part]')= second_part .actions %button