chore: formatting

This commit is contained in:
ThatOneCalculator 2023-06-02 20:06:04 -07:00
parent 44d77f60ef
commit 14126de3d7
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
4 changed files with 8 additions and 5 deletions

View File

@ -6,7 +6,7 @@
@closed="$emit('closed')"
>
<template #header>{{ i18n.ts._mfm.cheatSheet }}</template>
<XCheatSheet :popup="true" style="background: var(--bg)"/>
<XCheatSheet :popup="true" style="background: var(--bg)" />
</XModalWindow>
</template>
@ -36,5 +36,4 @@ function close(res) {
.fade-leave-to {
opacity: 0;
}
</style>

View File

@ -382,7 +382,7 @@ function onContextmenu(ev: MouseEvent): void {
const isLink = (el: HTMLElement) => {
if (el.tagName === "A") return true;
// The Audio element's context menu is the browser default, such as for selecting playback speed.
if (el.tagName === 'AUDIO') return true;
if (el.tagName === "AUDIO") return true;
if (el.parentElement) {
return isLink(el.parentElement);
}

View File

@ -450,7 +450,7 @@ import { i18n } from "@/i18n";
import { instance } from "@/instance";
defineProps<{
popup?: boolean
popup?: boolean;
}>();
let preview_mention = $ref("@example");

View File

@ -134,7 +134,11 @@
</div>
<div class="follow-container">
<div class="actions">
<button class="menu _button" @click="menu" v-tooltip="i18n.ts.menu">
<button
class="menu _button"
@click="menu"
v-tooltip="i18n.ts.menu"
>
<i
class="ph-dots-three-outline ph-bold ph-lg"
></i>