mirror of
https://github.com/wekan/wekan.git
synced 2026-01-05 17:18:49 +01:00
Removed unnecessary space between checklist title and first checklist item if checklist progress is 0%
This commit is contained in:
parent
703baf4ce9
commit
f98b03bee5
1 changed files with 5 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue