mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
fix: 🐛 plus button in reaction settings
This commit is contained in:
parent
446fc9830c
commit
eb49999d9c
3 changed files with 11 additions and 17 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "14.0.0-dev63",
|
"version": "14.0.0-dev68",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -30,12 +30,10 @@
|
||||||
class="emoji"
|
class="emoji"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
|
||||||
<button class="_button add" @click="chooseEmoji">
|
|
||||||
<i class="ph-plus ph-bold ph-lg"></i>
|
|
||||||
</button>
|
|
||||||
</template>
|
|
||||||
</VueDraggable>
|
</VueDraggable>
|
||||||
|
<button class="_button add" @click="chooseEmoji">
|
||||||
|
<i class="ph-plus ph-bold ph-lg"></i>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<template #caption
|
<template #caption
|
||||||
>{{ i18n.ts.reactionSettingDescription2 }}
|
>{{ i18n.ts.reactionSettingDescription2 }}
|
||||||
|
@ -244,10 +242,6 @@ const headerTabs = $computed(() => []);
|
||||||
definePageMetadata({
|
definePageMetadata({
|
||||||
title: i18n.ts.reaction,
|
title: i18n.ts.reaction,
|
||||||
icon: "ph-smiley ph-bold ph-lg",
|
icon: "ph-smiley ph-bold ph-lg",
|
||||||
action: {
|
|
||||||
icon: "ph-eye ph-bold ph-lg",
|
|
||||||
handler: preview,
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -261,10 +255,12 @@ definePageMetadata({
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
cursor: move;
|
cursor: move;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
> .add {
|
.add {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
margin-left: 12px;
|
||||||
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue