removes extra line for empty issue description

This commit is contained in:
Nur Rony 2016-10-21 23:08:44 +06:00
parent 6c09fbd889
commit e32858e773
2 changed files with 3 additions and 1 deletions

View file

@ -372,3 +372,5 @@ table {
margin-right: -$gl-padding;
border-top: 1px solid $border-color;
}
.hide-bottom-border { border-bottom: none;}

View file

@ -53,7 +53,7 @@
.issue-details.issuable-details
.detail-page-description.content-block
.detail-page-description.content-block{class: ('hide-bottom-border' unless @issue.description.present? )}
%h2.title
= markdown_field(@issue, :title)
- if @issue.description.present?