样式修改
This commit is contained in:
1 parent
c2c44f8d29
commit
03dff2ce77
17 files changed
+577
-58
No files matched your search
@@ -3,6 +3,7 @@ import { ListTree, Plus } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import type { AIOutline, OutlineSection as OutlineSectionType } from '../../types/ai-writing';
|
||||
import { OutlineSection } from './OutlineSection';
|
||||
import { CollapseTransition } from './CollapseTransition';
|
||||
|
||||
interface OutlineCardProps {
|
||||
outline: AIOutline;
|
||||
@@ -69,7 +70,7 @@ export function OutlineCard({ outline, onChange, readOnly = false }: OutlineCard
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{!collapsed && (
|
||||
<CollapseTransition open={!collapsed}>
|
||||
<div className="px-3 py-2.5 space-y-2">
|
||||
{/* 文章标题 */}
|
||||
<div className="flex items-center gap-1.5 text-xs">
|
||||
@@ -137,7 +138,7 @@ export function OutlineCard({ outline, onChange, readOnly = false }: OutlineCard
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</CollapseTransition>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user