summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <simon@gitlab.com>2018-06-28 21:39:45 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-06-28 21:39:45 +0000
commitcfda0a2f905e7d9aaa02a3e5e451b6a5caa29c0b (patch)
tree6f8d0e94e811e635854148c5fac2b5e9e98eaf07
parent9ad97abfec59cde15b240a5e81a1b1caf1b2a4fc (diff)
downloadgitlab-ce-cfda0a2f905e7d9aaa02a3e5e451b6a5caa29c0b.tar.gz
Resolve "Markdown header `code` does not have the correct font-size"
-rw-r--r--app/assets/stylesheets/framework/variables.scss2
-rw-r--r--changelogs/unreleased/48549-markdown-header-code-does-not-have-the-correct-font-size.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/variables.scss b/app/assets/stylesheets/framework/variables.scss
index f30f296d41f..7808f6d3a25 100644
--- a/app/assets/stylesheets/framework/variables.scss
+++ b/app/assets/stylesheets/framework/variables.scss
@@ -233,7 +233,7 @@ $md-area-border: #ddd;
/*
* Code
*/
-$code_font_size: 12px;
+$code_font_size: 90%;
$code_line_height: 1.6;
/*
diff --git a/changelogs/unreleased/48549-markdown-header-code-does-not-have-the-correct-font-size.yml b/changelogs/unreleased/48549-markdown-header-code-does-not-have-the-correct-font-size.yml
new file mode 100644
index 00000000000..f01f7f3db55
--- /dev/null
+++ b/changelogs/unreleased/48549-markdown-header-code-does-not-have-the-correct-font-size.yml
@@ -0,0 +1,5 @@
+---
+title: fix size of code blocks in headings
+merge_request:
+author:
+type: fixed