diff options
author | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2019-09-11 20:17:46 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2019-09-11 20:17:46 +0000 |
commit | a282fbcd485972289beb26ef65d2b6145334fc5a (patch) | |
tree | 079f01deeb295a2432d4ca9ad6626d789f4b18c6 | |
parent | 9ac48b4e25e413e4a7d8e4063ae9f139c95b885e (diff) | |
parent | e75035b721f1120523365779c7bdfefcd1dac7bc (diff) | |
download | gitlab-ce-a282fbcd485972289beb26ef65d2b6145334fc5a.tar.gz |
Merge branch '67248-snippet-title-whitespace' into 'master'
Resolve "Snippet title whitespace"
Closes #67248
See merge request gitlab-org/gitlab-ce!32877
-rw-r--r-- | app/views/shared/snippets/_header.html.haml | 2 | ||||
-rw-r--r-- | changelogs/unreleased/67248-snippet-title-whitespace.yml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/shared/snippets/_header.html.haml b/app/views/shared/snippets/_header.html.haml index ebb634fe75f..1a9ae68f53d 100644 --- a/app/views/shared/snippets/_header.html.haml +++ b/app/views/shared/snippets/_header.html.haml @@ -17,7 +17,7 @@ = render "snippets/actions" .snippet-header.limited-header-width - %h2.snippet-title.prepend-top-0.append-bottom-0.qa-snippet-title + %h2.snippet-title.prepend-top-0.mb-3.qa-snippet-title = markdown_field(@snippet, :title) - if @snippet.description.present? diff --git a/changelogs/unreleased/67248-snippet-title-whitespace.yml b/changelogs/unreleased/67248-snippet-title-whitespace.yml new file mode 100644 index 00000000000..b6460faac4d --- /dev/null +++ b/changelogs/unreleased/67248-snippet-title-whitespace.yml @@ -0,0 +1,5 @@ +--- +title: Add bottom margin to snippet title +merge_request: 32877 +author: +type: fixed |