style:优化提示词工坊-提示词卡片样式和布局

This commit is contained in:
xiamuceer-j
2026-01-29 15:33:10 +08:00
parent f930d499f8
commit 997235550c
+3 -1
View File
@@ -495,7 +495,7 @@ export default function PromptWorkshop() {
flex: 1,
minHeight: 60,
}}
ellipsis={{ rows: 3, tooltip: item.prompt_content }}
ellipsis={{ rows: 3 }}
>
{item.prompt_content}
</Paragraph>
@@ -1189,6 +1189,8 @@ export default function PromptWorkshop() {
padding: 16,
borderRadius: 8,
marginBottom: 16,
maxHeight: 400,
overflow: 'auto',
}}>
<Text strong style={{ display: 'block', marginBottom: 8 }}></Text>
<pre style={{