style: md editor

This commit is contained in:
张传龙 2022-09-28 16:43:44 +08:00
parent efdd89cd50
commit 1f1678800f

View File

@ -1,5 +1,5 @@
<template> <template>
<CommonPage :show-header="false" title="32323"> <CommonPage>
<div h-60 pl-20 pr-20 flex items-center bg-white> <div h-60 pl-20 pr-20 flex items-center bg-white>
<input <input
v-model="post.title" v-model="post.title"
@ -11,7 +11,7 @@
<TheIcon v-if="!btnLoading" icon="line-md:confirm-circle" class="mr-5" :size="18" /> 保存 <TheIcon v-if="!btnLoading" icon="line-md:confirm-circle" class="mr-5" :size="18" /> 保存
</n-button> </n-button>
</div> </div>
<MdEditor v-model="post.content" style="height: calc(100vh - 250px)" /> <MdEditor v-model="post.content" style="height: calc(100vh - 305px)" />
</CommonPage> </CommonPage>
</template> </template>