功能:优化创作页移动端适配
This commit is contained in:
@@ -14,8 +14,8 @@ export default ({ value, children, className }: Props) => {
|
||||
return (
|
||||
<>
|
||||
<Card className={`${titleSty} px-4 mb-2 ${className}`}>
|
||||
<div className="flex justify-between items-center h-14">
|
||||
<h2 className="font-semibold text-black dark:text-white text-xl">{value}</h2>
|
||||
<div className="overflow-auto flex justify-between items-center h-14">
|
||||
<h2 className="font-semibold text-black dark:text-white text-xl min-w-24">{value}</h2>
|
||||
|
||||
{children}
|
||||
</div>
|
||||
|
||||
@@ -161,7 +161,7 @@ const CreatePage = () => {
|
||||
return (
|
||||
<>
|
||||
<Title value="创作">
|
||||
<div className='flex items-center space-x-4'>
|
||||
<div className='flex items-center space-x-4 w-[360px]'>
|
||||
<Dropdown.Button menu={{ items }}>
|
||||
<AiOutlineEdit className='text-base' /> 创作神器
|
||||
</Dropdown.Button>
|
||||
@@ -183,7 +183,6 @@ const CreatePage = () => {
|
||||
title={id ? "编辑文章" : "发布文章"}
|
||||
placement="right"
|
||||
size='large'
|
||||
closable={false}
|
||||
onClose={() => setPublishOpen(false)}
|
||||
open={publishOpen}
|
||||
>
|
||||
|
||||
@@ -144,7 +144,6 @@ export default () => {
|
||||
width={600}
|
||||
title="图片信息"
|
||||
placement="right"
|
||||
closable={false}
|
||||
open={openFileInfoDrawer}
|
||||
onClose={() => { setOpenFileInfoDrawer(false); setFile({} as File) }}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user