1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2025-01-19 00:03:19 +09:00

feature(friendly): change the width of post-form

This commit is contained in:
NoriDev 2022-09-02 21:53:27 +09:00
parent c260e411c5
commit 818502c549

View File

@ -1,7 +1,7 @@
<template>
<div
v-size="{ max: [310, 500] }" class="gafaadew"
:class="{ modal, _popup: modal }"
:class="{ modal, _popup: modal, friendly: isFriendly }"
@dragover.stop="onDragover"
@dragenter="onDragenter"
@dragleave="onDragleave"
@ -90,6 +90,8 @@ import { instance } from '@/instance';
import { $i, getAccounts, openAccountMenu as openAccountMenu_ } from '@/account';
import { uploadFile } from '@/scripts/upload';
const isFriendly = $ref(localStorage.getItem('ui') === 'friendly');
const modal = inject('modal');
const props = withDefaults(defineProps<{
@ -718,6 +720,10 @@ onMounted(() => {
max-width: 520px;
}
&.friendly {
max-width: 800px;
}
> header {
z-index: 1000;
height: 66px;