chore: formatting
This commit is contained in:
parent
4e4617b475
commit
35e72bfca7
|
@ -50,7 +50,7 @@ function close() {
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: .4em;
|
gap: 0.4em;
|
||||||
|
|
||||||
&.warn {
|
&.warn {
|
||||||
background: var(--infoWarnBg);
|
background: var(--infoWarnBg);
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
<p v-if="note.cw != null" class="cw">
|
<p v-if="note.cw != null" class="cw">
|
||||||
<MkA
|
<MkA
|
||||||
v-if="conversation && note.renoteId == parentId"
|
v-if="conversation && note.renoteId == parentId"
|
||||||
:to="detailedView ? `#${parentId}` : `${notePage(note)}#${parentId}`"
|
:to="
|
||||||
|
detailedView ? `#${parentId}` : `${notePage(note)}#${parentId}`
|
||||||
|
"
|
||||||
behavior="browser"
|
behavior="browser"
|
||||||
class="reply-icon"
|
class="reply-icon"
|
||||||
@click.stop
|
@click.stop
|
||||||
|
@ -11,7 +13,11 @@
|
||||||
</MkA>
|
</MkA>
|
||||||
<MkA
|
<MkA
|
||||||
v-else-if="!detailed && note.replyId"
|
v-else-if="!detailed && note.replyId"
|
||||||
:to="detailedView ? `#${note.replyId}` :`${notePage(note)}#${note.replyId}`"
|
:to="
|
||||||
|
detailedView
|
||||||
|
? `#${note.replyId}`
|
||||||
|
: `${notePage(note)}#${note.replyId}`
|
||||||
|
"
|
||||||
behavior="browser"
|
behavior="browser"
|
||||||
v-tooltip="i18n.ts.jumpToPrevious"
|
v-tooltip="i18n.ts.jumpToPrevious"
|
||||||
class="reply-icon"
|
class="reply-icon"
|
||||||
|
@ -66,7 +72,11 @@
|
||||||
<template v-if="!note.cw">
|
<template v-if="!note.cw">
|
||||||
<MkA
|
<MkA
|
||||||
v-if="conversation && note.renoteId == parentId"
|
v-if="conversation && note.renoteId == parentId"
|
||||||
:to="detailedView ? `#${parentId}` : `${notePage(note)}#${parentId}`"
|
:to="
|
||||||
|
detailedView
|
||||||
|
? `#${parentId}`
|
||||||
|
: `${notePage(note)}#${parentId}`
|
||||||
|
"
|
||||||
behavior="browser"
|
behavior="browser"
|
||||||
class="reply-icon"
|
class="reply-icon"
|
||||||
@click.stop
|
@click.stop
|
||||||
|
@ -75,7 +85,11 @@
|
||||||
</MkA>
|
</MkA>
|
||||||
<MkA
|
<MkA
|
||||||
v-else-if="!detailed && note.replyId"
|
v-else-if="!detailed && note.replyId"
|
||||||
:to="detailedView ? `#${note.replyId}` :`${notePage(note)}#${note.replyId}`"
|
:to="
|
||||||
|
detailedView
|
||||||
|
? `#${note.replyId}`
|
||||||
|
: `${notePage(note)}#${note.replyId}`
|
||||||
|
"
|
||||||
behavior="browser"
|
behavior="browser"
|
||||||
v-tooltip="i18n.ts.jumpToPrevious"
|
v-tooltip="i18n.ts.jumpToPrevious"
|
||||||
class="reply-icon"
|
class="reply-icon"
|
||||||
|
@ -179,7 +193,6 @@ import { extractMfmWithAnimation } from "@/scripts/extract-mfm";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
import { defaultStore } from "@/store";
|
import { defaultStore } from "@/store";
|
||||||
|
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
note: misskey.entities.Note;
|
note: misskey.entities.Note;
|
||||||
parentId?;
|
parentId?;
|
||||||
|
|
|
@ -164,7 +164,10 @@ const props = defineProps<{
|
||||||
to?: string;
|
to?: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const displayBackButton = props.displayBackButton && history.length > 2 && inject("shouldBackButton", true);
|
const displayBackButton =
|
||||||
|
props.displayBackButton &&
|
||||||
|
history.length > 2 &&
|
||||||
|
inject("shouldBackButton", true);
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
(ev: "update:tab", key: string);
|
(ev: "update:tab", key: string);
|
||||||
|
|
|
@ -97,17 +97,18 @@
|
||||||
><Mfm
|
><Mfm
|
||||||
:text="'$[sparkle @kainoa@calckey.social] (Main developer)'"
|
:text="'$[sparkle @kainoa@calckey.social] (Main developer)'"
|
||||||
/></FormLink>
|
/></FormLink>
|
||||||
<FormLink to="/@cleo@bz.pawdev.me"
|
<FormLink to="/@april@calckey.social"
|
||||||
><Mfm :text="'@cleo@bz.pawdev.me (Maintainer)'"
|
><Mfm
|
||||||
|
:text="'@april@calckey.social (Backend)'"
|
||||||
|
/></FormLink>
|
||||||
|
<FormLink to="/@freeplay@calckey.social"
|
||||||
|
><Mfm
|
||||||
|
:text="'@freeplay@calckey.social (UI/UX)'"
|
||||||
/></FormLink>
|
/></FormLink>
|
||||||
<FormLink to="/@panos@calckey.social"
|
<FormLink to="/@panos@calckey.social"
|
||||||
><Mfm
|
><Mfm
|
||||||
:text="'@panos@calckey.social (Project Coordinator)'"
|
:text="'@panos@calckey.social (Project Coordinator)'"
|
||||||
/></FormLink>
|
/></FormLink>
|
||||||
<FormLink to="/@freeplay@calckey.social"
|
|
||||||
><Mfm
|
|
||||||
:text="'@freeplay@calckey.social (UI)'"
|
|
||||||
/></FormLink>
|
|
||||||
<FormLink
|
<FormLink
|
||||||
to="https://www.youtube.com/c/Henkiwashere"
|
to="https://www.youtube.com/c/Henkiwashere"
|
||||||
external
|
external
|
||||||
|
|
Loading…
Reference in New Issue