Commit 8c871ce3 authored by Mark Florian's avatar Mark Florian

Merge branch 'jl-milestone-title-spacing' into 'master'

Fix spacing and borders in Milestone title and description

See merge request gitlab-org/gitlab!40649
parents 3136dcdf b925794e
...@@ -178,7 +178,6 @@ $status-box-line-height: 26px; ...@@ -178,7 +178,6 @@ $status-box-line-height: 26px;
.milestone-detail { .milestone-detail {
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
padding: 20px 0;
} }
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
......
.detail-page-description.milestone-detail .detail-page-description.milestone-detail
%h2.title{ data: { qa_selector: "milestone_title_content" } } %h2.gl-m-0{ data: { qa_selector: "milestone_title_content" } }
= markdown_field(milestone, :title) = markdown_field(milestone, :title)
- if milestone.try(:description).present? - if milestone.try(:description).present?
%div{ data: { qa_selector: "milestone_description_content" } } %div{ data: { qa_selector: "milestone_description_content" } }
.description.md .description.md.gl-px-0.gl-pt-4.gl-border-1.gl-border-t-solid.gl-border-gray-100
= markdown_field(milestone, :description) = markdown_field(milestone, :description)
---
title: Fix spacing and borders in milestone title and description
merge_request: 40649
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment