summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-07-19 12:41:34 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-07-19 13:32:27 -0500
commit7a7bcd1716b4e9489ac31ad9e6d8ccdeb961b1ae (patch)
tree0d975e768e0e3a91af7cbd574d54ce38c748ad2a
parent606ed6d14d3f4ff15edf1b8d5143bfa6f160dcbc (diff)
downloadgitlab-ce-33770-respect-blockquote-line-breaks.tar.gz
Respect blockquote line breaks in markdown33770-respect-blockquote-line-breaks
-rw-r--r--app/assets/stylesheets/framework/typography.scss5
-rw-r--r--changelogs/unreleased/33770-respect-blockquote-line-breaks.yml4
2 files changed, 8 insertions, 1 deletions
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: