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