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