AI分析Markdown样式优化:紧凑段落间距、标题上下留白、npm淘宝镜像
This commit is contained in:
@@ -348,3 +348,12 @@ const quadrantLabel = (q: string) => {
|
||||
color: var(--el-text-color-secondary);
|
||||
}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
/* AI Markdown 输出段落间距(非 scoped,确保 v-html 生效) */
|
||||
.ai-text p { margin: 3px 0; }
|
||||
.ai-text h1, .ai-text h2, .ai-text h3, .ai-text h4 { margin: 16px 0 6px; font-size: inherit; }
|
||||
.ai-text ul, .ai-text ol { margin: 3px 0; padding-left: 18px; }
|
||||
.ai-text li { margin: 1px 0; }
|
||||
.ai-text strong { color: var(--el-color-primary, #409eff); }
|
||||
</style>
|
||||
|
||||
@@ -403,8 +403,7 @@ onMounted(async () => {
|
||||
padding: 12px;
|
||||
}
|
||||
.ai-text {
|
||||
line-height: 1.8;
|
||||
white-space: pre-wrap;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.ai-error {
|
||||
color: var(--el-color-danger);
|
||||
@@ -448,3 +447,12 @@ onMounted(async () => {
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
/* AI Markdown 输出段落间距(非 scoped,确保 v-html 生效) */
|
||||
.ai-text p { margin: 3px 0; }
|
||||
.ai-text h1, .ai-text h2, .ai-text h3, .ai-text h4 { margin: 16px 0 6px; font-size: inherit; }
|
||||
.ai-text ul, .ai-text ol { margin: 3px 0; padding-left: 18px; }
|
||||
.ai-text li { margin: 1px 0; }
|
||||
.ai-text strong { color: var(--el-color-primary, #409eff); }
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user