format
This commit is contained in:
parent
bb43cc27ee
commit
022d478fa8
3 changed files with 26 additions and 10 deletions
|
@ -37,8 +37,18 @@ const isMe = computed(() => $i && $i.id === props.note.userId);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
margin-inline: -24px;
|
margin-inline: -24px;
|
||||||
padding-inline: 22px 160px;
|
padding-inline: 22px 160px;
|
||||||
mask: linear-gradient(to right, transparent, black 24px calc(100% - 160px), transparent);
|
mask: linear-gradient(
|
||||||
-webkit-mask: linear-gradient(to right, transparent, black 24px calc(100% - 160px), transparent);
|
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;
|
scrollbar-width: none;
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -45,12 +45,18 @@
|
||||||
class="_formBlock"
|
class="_formBlock"
|
||||||
>{{ i18n.ts.useReactionPickerForContextMenu }}</FormSwitch
|
>{{ i18n.ts.useReactionPickerForContextMenu }}</FormSwitch
|
||||||
>
|
>
|
||||||
<FormSwitch v-if="deviceKind !== 'desktop'" v-model="swipeOnMobile" class="_formBlock">{{
|
<FormSwitch
|
||||||
i18n.ts.swipeOnMobile
|
v-if="deviceKind !== 'desktop'"
|
||||||
}}</FormSwitch>
|
v-model="swipeOnMobile"
|
||||||
<FormSwitch v-if="deviceKind === 'desktop'" v-model="swipeOnDesktop" class="_formBlock">{{
|
class="_formBlock"
|
||||||
i18n.ts.swipeOnDesktop
|
>{{ i18n.ts.swipeOnMobile }}</FormSwitch
|
||||||
}}</FormSwitch>
|
>
|
||||||
|
<FormSwitch
|
||||||
|
v-if="deviceKind === 'desktop'"
|
||||||
|
v-model="swipeOnDesktop"
|
||||||
|
class="_formBlock"
|
||||||
|
>{{ i18n.ts.swipeOnDesktop }}</FormSwitch
|
||||||
|
>
|
||||||
<FormSwitch v-model="enterSendsMessage" class="_formBlock">{{
|
<FormSwitch v-model="enterSendsMessage" class="_formBlock">{{
|
||||||
i18n.ts.enterSendsMessage
|
i18n.ts.enterSendsMessage
|
||||||
}}</FormSwitch>
|
}}</FormSwitch>
|
||||||
|
|
Loading…
Reference in a new issue