forked from naskya/firefish
fix: page block not draggable on Firefox
This commit is contained in:
parent
f631154835
commit
887517d657
1 changed files with 4 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue