From 6d08354659da74b094ff2212f7500f7f7585d979 Mon Sep 17 00:00:00 2001 From: Marcel van Remmerden Date: Wed, 11 Sep 2019 13:00:24 +0100 Subject: Switch from css to utility class --- app/assets/stylesheets/framework/snippets.scss | 1 - app/views/shared/snippets/_header.html.haml | 2 +- 2 files changed, 1 insertion(+), 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? -- cgit v1.2.1