summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorNur Rony <pro.nmrony@gmail.com>2016-10-21 23:08:44 +0600
committerNur Rony <pro.nmrony@gmail.com>2016-10-21 23:08:44 +0600
commite32858e7734a13b820d2f1439e189c1586af29d8 (patch)
treebc938bbe33919a20f829d613670259a54bb3f598 /app
parent6c09fbd889a2259f8e2db1927c4e0a3d4cdb01b4 (diff)
downloadgitlab-ce-e32858e7734a13b820d2f1439e189c1586af29d8.tar.gz
removes extra line for empty issue description
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/framework/common.scss2
-rw-r--r--app/views/projects/issues/show.html.haml2
2 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss
index 81e4e264560..0d00b6a0d9c 100644
--- a/app/assets/stylesheets/framework/common.scss
+++ b/app/assets/stylesheets/framework/common.scss
@@ -372,3 +372,5 @@ table {
margin-right: -$gl-padding;
border-top: 1px solid $border-color;
}
+
+.hide-bottom-border { border-bottom: none;}
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 6f3f238a436..6defd7834bf 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -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?