mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
chore: formatting
This commit is contained in:
parent
7e7357bae8
commit
3f414d5921
@ -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,14 +527,14 @@ onUnmounted(() => {
|
||||
}
|
||||
}
|
||||
|
||||
> :deep(.chips), {
|
||||
> :deep(.chips) {
|
||||
padding-block: 6px 12px;
|
||||
padding-left: 32px;
|
||||
&:last-child {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
}
|
||||
> :deep(.user-card-mini),
|
||||
> :deep(.user-card-mini),
|
||||
> :deep(.reacted-users > *) {
|
||||
padding-inline: 32px;
|
||||
border-top: 1px solid var(--divider);
|
||||
|
@ -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"
|
||||
@ -32,7 +26,7 @@
|
||||
v-for="user in users"
|
||||
:key="user.id"
|
||||
:user="user"
|
||||
:with-chart="false"
|
||||
:with-chart="false"
|
||||
/>
|
||||
</div>
|
||||
<div v-else>
|
||||
|
@ -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