mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 还原markdown行高限制,恢复部门样式
This commit is contained in:
parent
d6a7a5f92e
commit
5eaafb07a1
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@
|
|||
font-size: inherit;
|
||||
p {
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
line-height: 22px !important;
|
||||
}
|
||||
.md-editor-admonition {
|
||||
margin: 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue