1
0
Fork 1
mirror of https://example.com synced 2024-11-22 11:16:38 +09:00

fix: page block not draggable on Firefox

This commit is contained in:
sup39 2023-12-24 13:23:40 +09:00 committed by naskya
parent f631154835
commit 887517d657
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -7,9 +7,9 @@
<button v-if="removable" class="_button" @click="remove()">
<i :class="icon('ph-trash')"></i>
</button>
<button v-if="draggable" class="drag-handle _button">
<div v-if="draggable" class="drag-handle _button">
<i :class="icon('ph-list')"></i>
</button>
</div>
<button class="_button" @click="toggleContent(!showBody)">
<template v-if="showBody"
><i :class="icon('ph-caret-up')"></i
@ -139,11 +139,12 @@ export default defineComponent({
top: 0;
inset-inline-end: 0;
> button {
> ._button {
padding: 0;
width: 42px;
font-size: 0.9em;
line-height: 42px;
text-align: center;
}
.drag-handle {