summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-06-05 03:19:24 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-06-05 03:19:24 +0000
commite3ebcb68da1266f5b5ede1fd58fe3ffefeff7fa3 (patch)
tree36f977208088b574ad5c927a61b37617b07bc449
parent6165f0f7f373f99381a57d66566d65e4ce5b7b7c (diff)
parent5e7c0b65f4fb7849bb9e40e9b44141a72aa20ec9 (diff)
downloadgitlab-ce-e3ebcb68da1266f5b5ede1fd58fe3ffefeff7fa3.tar.gz
Merge branch '47115-fix-markdown-blockquote' into 'master'
Resolve "Markdown blockquote is not displaying properly" Closes #47115 See merge request gitlab-org/gitlab-ce!19395
-rw-r--r--app/assets/stylesheets/framework/typography.scss23
-rw-r--r--app/assets/stylesheets/mailers/highlighted_diff_email.scss1
2 files changed, 13 insertions, 11 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss
index 97b821e0cb9..9e77ea03a24 100644
--- a/app/assets/stylesheets/framework/typography.scss
+++ b/app/assets/stylesheets/framework/typography.scss
@@ -114,26 +114,27 @@
font-size: 0.95em;
}
+ blockquote,
.blockquote {
color: $gl-grayish-blue;
font-size: inherit;
padding: 8px 24px;
margin: 16px 0;
border-left: 3px solid $white-dark;
- }
- .blockquote:dir(rtl) {
- border-left: 0;
- border-right: 3px solid $white-dark;
- }
+ &:dir(rtl) {
+ border-left: 0;
+ border-right: 3px solid $white-dark;
+ }
- .blockquote p {
- color: $gl-grayish-blue !important;
- font-size: inherit;
- line-height: 1.5;
+ p {
+ color: $gl-grayish-blue !important;
+ font-size: inherit;
+ line-height: 1.5;
- &:last-child {
- margin: 0;
+ &:last-child {
+ margin: 0;
+ }
}
}
diff --git a/app/assets/stylesheets/mailers/highlighted_diff_email.scss b/app/assets/stylesheets/mailers/highlighted_diff_email.scss
index b5eda79e5ed..1835c4364d3 100644
--- a/app/assets/stylesheets/mailers/highlighted_diff_email.scss
+++ b/app/assets/stylesheets/mailers/highlighted_diff_email.scss
@@ -138,6 +138,7 @@ pre {
margin: 0;
}
+blockquote,
.blockquote {
color: $gl-grayish-blue;
padding: 0 0 0 15px;