Merge pull request #4329 from mfilser/removed_space_new_checklists

Removed unnecessary space between checklist title and first checklist item if checklist progress is 0%
pull/4330/head
Lauri Ojansivu 3 years ago committed by GitHub
commit e98821fafc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      client/components/cards/checklists.jade

@ -44,10 +44,11 @@ template(name="checklistDetail")
+viewer
= checklist.title
.checklist-progress-bar-container
.checklist-progress-text {{#if $gt finishedPercent 0}}{{finishedPercent}}%{{/if}}
.checklist-progress-bar
.checklist-progress(style="width:{{finishedPercent}}%;{{#if $eq finishedPercent 0}}display:none{{/if}}")
if $gt finishedPercent 0
.checklist-progress-bar-container
.checklist-progress-text {{finishedPercent}}%
.checklist-progress-bar
.checklist-progress(style="width:{{finishedPercent}}%")
+checklistItems(checklist = checklist)
template(name="checklistDeletePopup")

Loading…
Cancel
Save