From f6667de9e0ad7c7c66d76e043dc787007df85eca Mon Sep 17 00:00:00 2001 From: btzr-io Date: Thu, 6 Sep 2018 18:55:57 -0600 Subject: [PATCH 1/3] add vertical spacing for markdown paragraphs --- src/renderer/scss/component/_markdown-preview.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/scss/component/_markdown-preview.scss b/src/renderer/scss/component/_markdown-preview.scss index 6322305ea..ac7896eae 100644 --- a/src/renderer/scss/component/_markdown-preview.scss +++ b/src/renderer/scss/component/_markdown-preview.scss @@ -39,6 +39,7 @@ /* Paragraphs */ p { + margin: $spacing-vertical 0; white-space: pre-line; } From 83da37f09cd226316739d1afbf7265070316e098 Mon Sep 17 00:00:00 2001 From: btzr-io Date: Thu, 6 Sep 2018 19:01:58 -0600 Subject: [PATCH 2/3] reduce margin size --- src/renderer/scss/component/_markdown-preview.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/scss/component/_markdown-preview.scss b/src/renderer/scss/component/_markdown-preview.scss index ac7896eae..085ff0b18 100644 --- a/src/renderer/scss/component/_markdown-preview.scss +++ b/src/renderer/scss/component/_markdown-preview.scss @@ -39,7 +39,7 @@ /* Paragraphs */ p { - margin: $spacing-vertical 0; + margin: $spacing-vertical * 2/3 0; white-space: pre-line; } From 582ad19b6ea682c4d079a1ba778f37de8caffa8d Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 7 Sep 2018 09:55:37 -0400 Subject: [PATCH 3/3] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8b83fc12..f8cd7391e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). ### Changed ### Fixed + * Paragraph rendering now properly includes a margin for new paragraphs ([#1939](https://github.com/lbryio/lbry-desktop/pull/1939)) ## [0.25.0] - 2018-08-29