mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
format
This commit is contained in:
parent
a59017f1d6
commit
5fd27545c8
@ -211,7 +211,7 @@ export const db = new DataSource({
|
||||
password: config.redis.pass,
|
||||
keyPrefix: `${config.redis.prefix}:query:`,
|
||||
db: config.redis.db || 0,
|
||||
tls: config.redis.tls || {} ,
|
||||
tls: config.redis.tls || {},
|
||||
},
|
||||
}
|
||||
: false,
|
||||
|
@ -7,7 +7,7 @@
|
||||
:count="count"
|
||||
:is-initial="initialReactions.has(reaction)"
|
||||
:note="note"
|
||||
@reacted="reactionsEl.scrollTo(0,0)"
|
||||
@reacted="reactionsEl.scrollTo(0, 0)"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
@ -37,8 +37,18 @@ const isMe = computed(() => $i && $i.id === props.note.userId);
|
||||
overflow-x: auto;
|
||||
margin-inline: -24px;
|
||||
padding-inline: 22px 160px;
|
||||
mask: linear-gradient(to right, transparent, black 24px calc(100% - 160px), transparent);
|
||||
-webkit-mask: linear-gradient(to right, transparent, black 24px calc(100% - 160px), transparent);
|
||||
mask: linear-gradient(
|
||||
to right,
|
||||
transparent,
|
||||
black 24px calc(100% - 160px),
|
||||
transparent
|
||||
);
|
||||
-webkit-mask: linear-gradient(
|
||||
to right,
|
||||
transparent,
|
||||
black 24px calc(100% - 160px),
|
||||
transparent
|
||||
);
|
||||
scrollbar-width: none;
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
|
@ -45,12 +45,18 @@
|
||||
class="_formBlock"
|
||||
>{{ i18n.ts.useReactionPickerForContextMenu }}</FormSwitch
|
||||
>
|
||||
<FormSwitch v-if="deviceKind !== 'desktop'" v-model="swipeOnMobile" class="_formBlock">{{
|
||||
i18n.ts.swipeOnMobile
|
||||
}}</FormSwitch>
|
||||
<FormSwitch v-if="deviceKind === 'desktop'" v-model="swipeOnDesktop" class="_formBlock">{{
|
||||
i18n.ts.swipeOnDesktop
|
||||
}}</FormSwitch>
|
||||
<FormSwitch
|
||||
v-if="deviceKind !== 'desktop'"
|
||||
v-model="swipeOnMobile"
|
||||
class="_formBlock"
|
||||
>{{ i18n.ts.swipeOnMobile }}</FormSwitch
|
||||
>
|
||||
<FormSwitch
|
||||
v-if="deviceKind === 'desktop'"
|
||||
v-model="swipeOnDesktop"
|
||||
class="_formBlock"
|
||||
>{{ i18n.ts.swipeOnDesktop }}</FormSwitch
|
||||
>
|
||||
<FormSwitch v-model="enterSendsMessage" class="_formBlock">{{
|
||||
i18n.ts.enterSendsMessage
|
||||
}}</FormSwitch>
|
||||
|
Loading…
Reference in New Issue
Block a user