diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-01-12 12:17:14 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-01-12 12:20:09 -0500 |
commit | 047107a4ab7d04efa8c30367d39ec896685dcd43 (patch) | |
tree | 758dec2547bbb63ff6eda4019e16c942126074a8 | |
parent | 3c9a3918e6a93a3e3cdcbe63214809d2ba9eb959 (diff) | |
download | gitlab-ce-047107a4ab7d04efa8c30367d39ec896685dcd43.tar.gz |
Add margin to math blocks26472-math-margin
-rw-r--r-- | app/assets/stylesheets/framework/typography.scss | 2 | ||||
-rw-r--r-- | changelogs/unreleased/26472-math-margin.yml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss index bd58a26f429..54958973f15 100644 --- a/app/assets/stylesheets/framework/typography.scss +++ b/app/assets/stylesheets/framework/typography.scss @@ -10,7 +10,7 @@ max-width: 100%; } - *:first-child { + *:first-child:not(.katex-display) { margin-top: 0; } diff --git a/changelogs/unreleased/26472-math-margin.yml b/changelogs/unreleased/26472-math-margin.yml new file mode 100644 index 00000000000..3999f521558 --- /dev/null +++ b/changelogs/unreleased/26472-math-margin.yml @@ -0,0 +1,4 @@ +--- +title: Add margin to markdown math blocks +merge_request: +author: |