Indicate done tasks in quick actions

This commit is contained in:
kolaente 2021-07-06 15:08:55 +02:00
parent e640f90488
commit 21d31f2b40
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 5 additions and 0 deletions

View file

@ -41,6 +41,7 @@
@click.prevent.stop="() => doAction(r.type, i)" @click.prevent.stop="() => doAction(r.type, i)"
@keyup.prevent.enter="() => doAction(r.type, i)" @keyup.prevent.enter="() => doAction(r.type, i)"
@keyup.prevent.esc="() => $refs.searchInput.focus()" @keyup.prevent.esc="() => $refs.searchInput.focus()"
:class="{'is-strikethrough': i.done}"
> >
{{ i.title }} {{ i.title }}
</button> </button>

View file

@ -144,3 +144,7 @@ button.table {
box-shadow: $shadow-md; box-shadow: $shadow-md;
} }
} }
.is-strikethrough {
text-decoration: line-through;
}