fix: 还原markdown行高限制,恢复部门样式

This commit is contained in:
wangdan-fit2cloud 2024-12-04 18:39:03 +08:00
parent d6a7a5f92e
commit 5eaafb07a1
3 changed files with 3 additions and 7 deletions

View File

@ -6,7 +6,7 @@
<LogoIcon v-else height="32px" width="32px" />
</div>
<div class="content">
<el-card shadow="always" class="dialog-card">
<el-card shadow="always" class="dialog-card" style="--el-card-padding: 10px 16px 12px">
<MdRenderer :source="prologue" :send-message="sendMessage"></MdRenderer>
</el-card>
</div>
@ -32,6 +32,4 @@ const prologue = computed(() => {
return temp?.replace(/-\s.+/g, toQuickQuestion)
})
</script>
<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>

View File

@ -3,7 +3,7 @@
<div
v-if="item.type === 'question'"
@click="sendMessage ? sendMessage(item.content, 'new') : (content: string) => {}"
class="problem-button ellipsis-2 mt-8"
class="problem-button ellipsis-2 mt-4 mb-4"
:class="sendMessage ? 'cursor' : 'disabled'"
>
<el-icon>

View File

@ -7,8 +7,6 @@
font-size: inherit;
p {
padding: 0 !important;
margin: 0 !important;
line-height: 22px !important;
}
.md-editor-admonition {
margin: 0;