From 5d9ab6a0a28d7aa7e6bc51ceb4bc7f0c8e95b4b3 Mon Sep 17 00:00:00 2001 From: Owen Conti Date: Sat, 8 Jul 2017 10:48:52 -0600 Subject: [PATCH] Fixes #3078 - Added `breaks: true` to Remarkable so newlines are rendered as line breaks. Remove `margin-top` from `

` tags within `.model` elements to fix the alignment in the model's description text. --- src/core/components/providers/markdown.jsx | 2 +- src/style/_models.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/components/providers/markdown.jsx b/src/core/components/providers/markdown.jsx index ff29f021..fb2088c0 100644 --- a/src/core/components/providers/markdown.jsx +++ b/src/core/components/providers/markdown.jsx @@ -19,7 +19,7 @@ function Markdown({ source }) { } return } diff --git a/src/style/_models.scss b/src/style/_models.scss index accfb5d2..ccbd5cca 100644 --- a/src/style/_models.scss +++ b/src/style/_models.scss @@ -79,6 +79,10 @@ border-radius: 4px; background: rgba(#000,.7); } + + p { + margin: 0 0 1em 0; + } }