mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Dashboard - fix touch layout
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
9be939300a
commit
cabe36c0ab
3 changed files with 5 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
<Draggable v-model="layout"
|
||||
class="panels"
|
||||
v-bind="{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}"
|
||||
handle=".panel--header"
|
||||
@end="saveLayout">
|
||||
<div v-for="panelId in layout" :key="panels[panelId].id" class="panel">
|
||||
|
|
@ -51,6 +52,7 @@
|
|||
<Draggable v-model="layout"
|
||||
class="panels"
|
||||
tag="ol"
|
||||
v-bind="{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}"
|
||||
handle=".draggable"
|
||||
@end="saveLayout">
|
||||
<li v-for="panel in sortedPanels" :key="panel.id">
|
||||
|
|
|
|||
Loading…
Reference in a new issue