summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel van Remmerden <mvanremmerden@gitlab.com>2019-09-11 13:00:24 +0100
committerMarcel van Remmerden <mvanremmerden@gitlab.com>2019-09-11 13:00:24 +0100
commit6d08354659da74b094ff2212f7500f7f7585d979 (patch)
treee5cd72f72e0d34b9069e1652a6463f8773fb7f11
parent3ca216bec923feef01c72bf7d390192e64efd884 (diff)
downloadgitlab-ce-67248-snippet-title-whitespace.tar.gz
Switch from css to utility class67248-snippet-title-whitespace
-rw-r--r--app/assets/stylesheets/framework/snippets.scss1
-rw-r--r--app/views/shared/snippets/_header.html.haml2
2 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/snippets.scss b/app/assets/stylesheets/framework/snippets.scss
index 1000fe616da..3ab83f4c8e6 100644
--- a/app/assets/stylesheets/framework/snippets.scss
+++ b/app/assets/stylesheets/framework/snippets.scss
@@ -37,7 +37,6 @@
font-size: 2em;
font-weight: $gl-font-weight-bold;
min-height: $header-height;
- margin-bottom: $gl-padding;
}
.snippet-edited-ago {
diff --git a/app/views/shared/snippets/_header.html.haml b/app/views/shared/snippets/_header.html.haml
index 1ed0435e255..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.qa-snippet-title
+ %h2.snippet-title.prepend-top-0.mb-3.qa-snippet-title
= markdown_field(@snippet, :title)
- if @snippet.description.present?