removes extra line for empty milestone description
This commit is contained in:
parent
884d49ea99
commit
2fc2be9b7b
2 changed files with 2 additions and 2 deletions
|
@ -373,4 +373,4 @@ table {
|
|||
border-top: 1px solid $border-color;
|
||||
}
|
||||
|
||||
.hide-bottom-border { border-bottom: none;}
|
||||
.hide-bottom-border { border-bottom: none !important; }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue