Skip to content

Commit

Permalink
docs(useDraggable): update demo style[z-index] (#3725)
Browse files Browse the repository at this point in the history
Co-authored-by: banruo <shl@dataqin.com>
  • Loading branch information
huiliangShen and banruo committed Feb 20, 2024
1 parent 98fac39 commit 20aecd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/useDraggable/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const { x, y, style } = useDraggable(el, {
p="x-4 y-2"
border="~ gray-800/30 rounded"
shadow="~ hover:lg"
class="fixed bg-$vp-c-bg select-none cursor-move z-24"
class="fixed bg-$vp-c-bg select-none cursor-move z-31"
style="touch-action:none;"
:style="style"
>
Expand All @@ -40,7 +40,7 @@ const { x, y, style } = useDraggable(el, {
p="x-4 y-2"
border="~ gray-400/30 rounded"
shadow="~ hover:lg"
class="fixed bg-$vp-c-bg select-none cursor-move z-24"
class="fixed bg-$vp-c-bg select-none cursor-move z-31"
:initial-value="{ x: innerWidth / 3.9, y: 150 }"
:prevent-default="true"
storage-key="vueuse-draggable-pos"
Expand All @@ -60,7 +60,7 @@ const { x, y, style } = useDraggable(el, {
p="x-4 y-2"
border="~ gray-400/30 rounded"
shadow="~ hover:lg"
class="fixed bg-$vp-c-bg select-none z-24"
class="fixed bg-$vp-c-bg select-none z-31"
:initial-value="{ x: innerWidth / 3.6, y: 240 }"
:prevent-default="true"
:handle="handle"
Expand Down

0 comments on commit 20aecd2

Please sign in to comment.