mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
hide "clear completed todos" while no entries are listed (#11321)
* hide "clear completed todos" while no entries are listed * move column background (negative margin)
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
)
|
)
|
||||||
transition(name="quick-add-tip-slide")
|
transition(name="quick-add-tip-slide")
|
||||||
.quick-add-tip.small-text(v-show="quickAddFocused", v-html="$t('addMultipleTip', {taskType: $t(typeLabel)})")
|
.quick-add-tip.small-text(v-show="quickAddFocused", v-html="$t('addMultipleTip', {taskType: $t(typeLabel)})")
|
||||||
clear-completed-todos(v-if="activeFilter.label === 'complete2' && isUser === true")
|
clear-completed-todos(v-if="activeFilter.label === 'complete2' && isUser === true && taskList.length > 0")
|
||||||
.column-background(
|
.column-background(
|
||||||
v-if="isUser === true",
|
v-if="isUser === true",
|
||||||
:class="{'initial-description': initialColumnDescription}",
|
:class="{'initial-description': initialColumnDescription}",
|
||||||
@@ -207,6 +207,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
bottom: 32px;
|
bottom: 32px;
|
||||||
|
margin-left: -8px;
|
||||||
|
|
||||||
&.initial-description {
|
&.initial-description {
|
||||||
top: 30%;
|
top: 30%;
|
||||||
|
|||||||
Reference in New Issue
Block a user