only drag stack by title

Signed-off-by: Simon Hötten <s+git@hoetten.org>
This commit is contained in:
Simon Hötten
2022-09-25 03:39:31 +02:00
committed by Julius Härtl
parent 467a3a454e
commit cd5753f247
2 changed files with 3 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ export default {
return this.$store.getters.stacksByBoard(this.board.id)
},
dragHandleSelector() {
return this.canEdit ? null : '.no-drag'
return this.canEdit ? '.stack__title' : '.no-drag'
},
isEmpty() {
return this.stacksByBoard.length === 0

View File

@@ -390,7 +390,7 @@ export default {
margin: 6px;
padding: 4px 4px;
&:focus {
&:focus-visible {
outline: 2px solid var(--color-border-dark);
border-radius: 3px;
}