diff options
author | Marcel van Remmerden <mvanremmerden@gitlab.com> | 2019-09-11 23:17:45 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2019-09-11 23:17:45 +0300 |
commit | e75035b721f1120523365779c7bdfefcd1dac7bc (patch) | |
tree | 079f01deeb295a2432d4ca9ad6626d789f4b18c6 | |
parent | 9ac48b4e25e413e4a7d8e4063ae9f139c95b885e (diff) |
Add bottom margin to snippet title
-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 |