From 7a7bcd1716b4e9489ac31ad9e6d8ccdeb961b1ae Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Wed, 19 Jul 2017 12:41:34 -0500 Subject: [PATCH] Respect blockquote line breaks in markdown --- app/assets/stylesheets/framework/typography.scss | 5 ++++- .../unreleased/33770-respect-blockquote-line-breaks.yml | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 changelogs/unreleased/33770-respect-blockquote-line-breaks.yml diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss index 77b7d901f9a..8a58c1ed567 100644 --- a/app/assets/stylesheets/framework/typography.scss +++ b/app/assets/stylesheets/framework/typography.scss @@ -116,9 +116,12 @@ blockquote p { color: $gl-grayish-blue !important; - margin: 0; font-size: inherit; line-height: 1.5; + + &:last-child { + margin: 0; + } } p { diff --git a/changelogs/unreleased/33770-respect-blockquote-line-breaks.yml b/changelogs/unreleased/33770-respect-blockquote-line-breaks.yml new file mode 100644 index 00000000000..3a45ad88270 --- /dev/null +++ b/changelogs/unreleased/33770-respect-blockquote-line-breaks.yml @@ -0,0 +1,4 @@ +--- +title: Respect blockquote line breaks in markdown +merge_request: +author: