From b11399a57e87362062a4cc9535da6c67e6e8bba3 Mon Sep 17 00:00:00 2001 From: Owen Conti Date: Mon, 10 Jul 2017 17:39:05 -0600 Subject: [PATCH] Revert original fix and implement fix from @1Map --- src/core/components/providers/markdown.jsx | 10 ++++++---- src/style/_markdown.scss | 3 +++ src/style/main.scss | 1 + 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 src/style/_markdown.scss diff --git a/src/core/components/providers/markdown.jsx b/src/core/components/providers/markdown.jsx index fb2088c0..9e2d2f0c 100644 --- a/src/core/components/providers/markdown.jsx +++ b/src/core/components/providers/markdown.jsx @@ -18,10 +18,12 @@ function Markdown({ source }) { return null } - return + return
+ +
} Markdown.propTypes = { diff --git a/src/style/_markdown.scss b/src/style/_markdown.scss new file mode 100644 index 00000000..96e802bc --- /dev/null +++ b/src/style/_markdown.scss @@ -0,0 +1,3 @@ +.markdown { + white-space: pre; +} \ No newline at end of file diff --git a/src/style/main.scss b/src/style/main.scss index f6ff00fb..4476e159 100644 --- a/src/style/main.scss +++ b/src/style/main.scss @@ -14,4 +14,5 @@ @import 'information'; @import 'authorize'; @import 'errors'; + @import 'markdown'; }