chore: formatting
This commit is contained in:
parent
44d77f60ef
commit
14126de3d7
|
@ -36,5 +36,4 @@ function close(res) {
|
||||||
.fade-leave-to {
|
.fade-leave-to {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -382,7 +382,7 @@ function onContextmenu(ev: MouseEvent): void {
|
||||||
const isLink = (el: HTMLElement) => {
|
const isLink = (el: HTMLElement) => {
|
||||||
if (el.tagName === "A") return true;
|
if (el.tagName === "A") return true;
|
||||||
// The Audio element's context menu is the browser default, such as for selecting playback speed.
|
// 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) {
|
if (el.parentElement) {
|
||||||
return isLink(el.parentElement);
|
return isLink(el.parentElement);
|
||||||
}
|
}
|
||||||
|
|
|
@ -450,7 +450,7 @@ import { i18n } from "@/i18n";
|
||||||
import { instance } from "@/instance";
|
import { instance } from "@/instance";
|
||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
popup?: boolean
|
popup?: boolean;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
let preview_mention = $ref("@example");
|
let preview_mention = $ref("@example");
|
||||||
|
|
|
@ -134,7 +134,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="follow-container">
|
<div class="follow-container">
|
||||||
<div class="actions">
|
<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
|
<i
|
||||||
class="ph-dots-three-outline ph-bold ph-lg"
|
class="ph-dots-three-outline ph-bold ph-lg"
|
||||||
></i>
|
></i>
|
||||||
|
|
Loading…
Reference in New Issue