Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Hötten <s+git@hoetten.org>2022-09-25 04:39:31 +0300
committerJulius Härtl <jus@bitgrid.net>2022-11-07 21:54:25 +0300
commitcd5753f247d66527b60f1a4601da61f7a8cad7db (patch)
tree2c15e4ee22f89fa090276b6182162d6a3df77050
parent467a3a454e2574db4b6a14618ab28fc281663e3e (diff)
only drag stack by title
Signed-off-by: Simon Hötten <s+git@hoetten.org>
-rw-r--r--src/components/board/Board.vue2
-rw-r--r--src/components/board/Stack.vue4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/board/Board.vue b/src/components/board/Board.vue
index 4cddc844..c1707f29 100644
--- a/src/components/board/Board.vue
+++ b/src/components/board/Board.vue
@@ -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
diff --git a/src/components/board/Stack.vue b/src/components/board/Stack.vue
index a845ba62..6e585e33 100644
--- a/src/components/board/Stack.vue
+++ b/src/components/board/Stack.vue
@@ -25,7 +25,7 @@
<div class="stack">
<div v-click-outside="stopCardCreation"
class="stack__header"
- :class="{'stack__header--add': showAddCard }"
+ :class="{'stack__header--add': showAddCard}"
tabindex="0"
:aria-label="stack.title">
<transition name="fade" mode="out-in">
@@ -390,7 +390,7 @@ export default {
margin: 6px;
padding: 4px 4px;
- &:focus {
+ &:focus-visible {
outline: 2px solid var(--color-border-dark);
border-radius: 3px;
}