chore: formatting
This commit is contained in:
parent
83db6ec70a
commit
b049b5bfaa
@ -478,8 +478,8 @@ export const meta = {
|
||||
properties: {
|
||||
postEditing: {
|
||||
type: "boolean",
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -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 {
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user