removes extra line for empty milestone description

This commit is contained in:
Nur Rony 2016-10-24 13:58:46 +06:00
parent 884d49ea99
commit 2fc2be9b7b
2 changed files with 2 additions and 2 deletions

View file

@ -373,4 +373,4 @@ table {
border-top: 1px solid $border-color;
}
.hide-bottom-border { border-bottom: none;}
.hide-bottom-border { border-bottom: none !important; }

View file

@ -31,7 +31,7 @@
= link_to namespace_project_milestone_path(@project.namespace, @project, @milestone), data: { confirm: 'Are you sure?' }, method: :delete, class: "btn btn-grouped btn-danger" do
Delete
.detail-page-description.milestone-detail
.detail-page-description.milestone-detail{ class: ('hide-bottom-border' unless @milestone.description.present? ) }
%h2.title
= markdown_field(@milestone, :title)
%div