From fbcf587e938f1d990f74669889e548875e0a537c Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 24 Apr 2022 17:30:36 +0200 Subject: [PATCH] fix: progress bar alignment in task list --- src/components/tasks/partials/singleTaskInList.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/tasks/partials/singleTaskInList.vue b/src/components/tasks/partials/singleTaskInList.vue index 2d3e6f614..e9cc0de29 100644 --- a/src/components/tasks/partials/singleTaskInList.vue +++ b/src/components/tasks/partials/singleTaskInList.vue @@ -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; + } } \ No newline at end of file