Commit 2fc2be9b authored by Nur Rony's avatar Nur Rony

removes extra line for empty milestone description

parent 884d49ea
......@@ -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
......
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