Fix multiselect on mobile

This commit is contained in:
kolaente 2021-01-18 21:33:21 +01:00
parent 427a702bd4
commit a0664ecb29
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 10 additions and 0 deletions

View file

@ -205,6 +205,11 @@ export default {
methods: { methods: {
// Searching will be triggered with a 200ms delay to avoid searching on every keyup event. // Searching will be triggered with a 200ms delay to avoid searching on every keyup event.
search() { search() {
// Updating the query with a binding does not work on mobile for some reason,
// getting the value manual does.
this.query = this.$refs.searchInput.value
if (this.searchTimeout !== null) { if (this.searchTimeout !== null) {
clearTimeout(this.searchTimeout) clearTimeout(this.searchTimeout)
this.searchTimeout = null this.searchTimeout = null

View file

@ -15,8 +15,13 @@
} }
} }
} }
.multiselect .tag {
margin: 0 0 0 .5rem;
}
} }
.tasks .task span.tag span { .tasks .task span.tag span {
width: auto; width: auto;
} }