fix: 🐛 plus button for reactions
This commit is contained in:
parent
cfb46f2775
commit
d45c028af4
2 changed files with 11 additions and 11 deletions
|
@ -154,9 +154,7 @@ function showFileMenu(file, ev: MouseEvent) {
|
|||
},
|
||||
},
|
||||
],
|
||||
(ev.currentTarget ?? ev.target ?? undefined) as
|
||||
| HTMLElement
|
||||
| undefined,
|
||||
(ev.currentTarget ?? ev.target ?? undefined) as HTMLElement | undefined,
|
||||
);
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<div v-panel style="border-radius: 6px">
|
||||
<VueDraggable
|
||||
v-model="reactions"
|
||||
class="zoaiodol"
|
||||
:class="$style.root"
|
||||
animation="150"
|
||||
delay="100"
|
||||
@end="save"
|
||||
|
@ -30,11 +30,13 @@
|
|||
class="emoji"
|
||||
/>
|
||||
</div>
|
||||
<template #footer>
|
||||
<button class="_button add" @click="chooseEmoji">
|
||||
<i class="ph-plus ph-bold ph-lg"></i>
|
||||
</button>
|
||||
</template>
|
||||
<button
|
||||
:draggable="false"
|
||||
class="_button add"
|
||||
@click="chooseEmoji"
|
||||
>
|
||||
<i class="ph-plus ph-bold ph-lg"></i>
|
||||
</button>
|
||||
</VueDraggable>
|
||||
</div>
|
||||
<template #caption
|
||||
|
@ -251,8 +253,8 @@ definePageMetadata({
|
|||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.zoaiodol {
|
||||
<style lang="scss" module>
|
||||
.root {
|
||||
padding: 12px;
|
||||
font-size: 1.1em;
|
||||
|
||||
|
|
Loading…
Reference in a new issue