chore: formatting

This commit is contained in:
ThatOneCalculator 2023-05-19 23:27:56 -07:00
parent 83db6ec70a
commit b049b5bfaa
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
5 changed files with 18 additions and 20 deletions

View File

@ -478,8 +478,8 @@ export const meta = {
properties: {
postEditing: {
type: "boolean",
}
}
},
},
},
},
},

View File

@ -253,7 +253,10 @@ let clips = $ref();
let renotes = $ref();
let isScrolling;
const reactionsCount = Object.values(props.note.reactions).reduce((x,y) => x + y, 0);
const reactionsCount = Object.values(props.note.reactions).reduce(
(x, y) => x + y,
0
);
const keymap = {
r: () => reply(true),
@ -524,7 +527,7 @@ onUnmounted(() => {
}
}
> :deep(.chips), {
> :deep(.chips) {
padding-block: 6px 12px;
padding-left: 32px;
&:last-child {

View File

@ -4,10 +4,7 @@
<button
v-for="reaction in reactions"
:key="reaction"
:class="[
$style.tab,
{ [$style.tabActive]: tab === reaction },
]"
:class="[$style.tab, { [$style.tabActive]: tab === reaction }]"
class="_button"
@click="tab = reaction"
>
@ -15,10 +12,7 @@
ref="reactionRef"
:reaction="
reaction
? reaction.replace(
/^:(\w+):$/,
':$1@.:'
)
? reaction.replace(/^:(\w+):$/, ':$1@.:')
: reaction
"
:custom-emojis="note.emojis"

View File

@ -90,7 +90,11 @@ export default defineComponent({
font-size: 0.85em;
overflow-x: auto;
mask: linear-gradient(to right, black calc(100% - 90px), transparent);
-webkit-mask: linear-gradient(to right, black calc(100% - 90px), transparent);
-webkit-mask: linear-gradient(
to right,
black calc(100% - 90px),
transparent
);
padding-right: 90px !important;
&::-webkit-scrollbar {
display: none;
@ -109,7 +113,7 @@ export default defineComponent({
margin-top: -0.1em;
}
> .count {
margin-right: -.2em;
margin-right: -0.2em;
}
}
}

View File

@ -14,10 +14,7 @@
</div>
</template>
<template #default="{ items }">
<MkInfo
v-if="$i?.isLocked === false"
warn
class="info"
<MkInfo v-if="$i?.isLocked === false" warn class="info"
>{{ i18n.ts.silencedWarning }}
</MkInfo>
<div class="mk-follow-requests">