From 21d31f2b409b120854b8fda555e3aac3990289ba Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 6 Jul 2021 15:08:55 +0200 Subject: [PATCH] Indicate done tasks in quick actions --- src/components/quick-actions/quick-actions.vue | 1 + src/styles/theme/theme.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/components/quick-actions/quick-actions.vue b/src/components/quick-actions/quick-actions.vue index 062013888..2e9a8b2cb 100644 --- a/src/components/quick-actions/quick-actions.vue +++ b/src/components/quick-actions/quick-actions.vue @@ -41,6 +41,7 @@ @click.prevent.stop="() => doAction(r.type, i)" @keyup.prevent.enter="() => doAction(r.type, i)" @keyup.prevent.esc="() => $refs.searchInput.focus()" + :class="{'is-strikethrough': i.done}" > {{ i.title }} diff --git a/src/styles/theme/theme.scss b/src/styles/theme/theme.scss index 684a68631..f29ff64e3 100644 --- a/src/styles/theme/theme.scss +++ b/src/styles/theme/theme.scss @@ -144,3 +144,7 @@ button.table { box-shadow: $shadow-md; } } + +.is-strikethrough { + text-decoration: line-through; +}