diff options
author | Nur Rony <pro.nmrony@gmail.com> | 2016-10-24 10:58:46 +0300 |
---|---|---|
committer | Nur Rony <pro.nmrony@gmail.com> | 2016-10-24 10:58:46 +0300 |
commit | 2fc2be9b7b8b80905acccbb74e4788a7e8a03f55 (patch) | |
tree | 2adc7a95cbed3ba78f4b448819443e61863f8d1b /app | |
parent | 884d49ea991322f6530b3281a980527cfb909bb7 (diff) |
removes extra line for empty milestone description
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/framework/common.scss | 2 | ||||
-rw-r--r-- | app/views/projects/milestones/show.html.haml | 2 |
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 |