fix: progress bar alignment in task list

This commit is contained in:
kolaente 2022-04-24 17:30:36 +02:00
parent 1eaca64e2a
commit fbcf587e93
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -171,7 +171,7 @@ export default defineComponent({
taskDetailRoute() {
return {
name: 'task.detail',
params: { id: this.task.id },
params: {id: this.task.id},
// TODO: re-enable opening task detail in modal
// state: { backdropView: this.$router.currentRoute.value.fullPath },
}
@ -202,7 +202,7 @@ export default defineComponent({
await updateFunc() // Don't delay it when un-marking it as it doesn't have an animation the other way around
}
},
undoDone(checked) {
this.task.done = !this.task.done
this.markAsDone(!checked)
@ -365,5 +365,9 @@ export default defineComponent({
border-left-color: var(--grey-300);
border-bottom-color: var(--grey-300);
}
.progress {
margin-bottom: 0;
}
}
</style>