summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNur Rony <pro.nmrony@gmail.com>2016-10-24 13:58:46 +0600
committerNur Rony <pro.nmrony@gmail.com>2016-10-24 13:58:46 +0600
commit2fc2be9b7b8b80905acccbb74e4788a7e8a03f55 (patch)
tree2adc7a95cbed3ba78f4b448819443e61863f8d1b
parent884d49ea991322f6530b3281a980527cfb909bb7 (diff)
downloadgitlab-ce-23557-remove-extra-line-for-empty-issue-description.tar.gz
removes extra line for empty milestone description23557-remove-extra-line-for-empty-issue-description
-rw-r--r--app/assets/stylesheets/framework/common.scss2
-rw-r--r--app/views/projects/milestones/show.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss
index 0d00b6a0d9c..800e2dba018 100644
--- a/app/assets/stylesheets/framework/common.scss
+++ b/app/assets/stylesheets/framework/common.scss
@@ -373,4 +373,4 @@ table {
border-top: 1px solid $border-color;
}
-.hide-bottom-border { border-bottom: none;}
+.hide-bottom-border { border-bottom: none !important; }
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index c83818e9199..f9ba77e87b5 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -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