mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
perf: 样式优化
This commit is contained in:
parent
98a42074eb
commit
3ed8b0b720
|
|
@ -7,9 +7,9 @@
|
|||
append-to-body
|
||||
align-center
|
||||
>
|
||||
<div class="paragraph-source-height">
|
||||
<div class="mb-8">
|
||||
<el-scrollbar>
|
||||
<div class="p-16">
|
||||
<div class="paragraph-source-height p-16 pb-0">
|
||||
<el-form label-position="top">
|
||||
<el-form-item label="用户问题">
|
||||
<el-input v-model="detail.problem_text" disabled />
|
||||
|
|
@ -108,7 +108,7 @@ defineExpose({ open })
|
|||
padding: 8px !important;
|
||||
}
|
||||
.paragraph-source-height {
|
||||
height: calc(100vh - 260px);
|
||||
max-height: calc(100vh - 260px);
|
||||
}
|
||||
.paragraph-source-card {
|
||||
height: 260px;
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ defineProps({
|
|||
border: 1px dashed var(--el-border-color);
|
||||
background: #eff0f1;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.add-icon {
|
||||
font-size: 14px;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
<template>
|
||||
<LayoutContainer back-to="-1" class="document-detail">
|
||||
<template #header>
|
||||
<div style="width: 80%">
|
||||
<div style="width: 78%">
|
||||
<h3 style="display: inline-block">{{ documentDetail?.name }}</h3>
|
||||
<el-text type="info" v-if="documentDetail?.type === '1'"
|
||||
>(文档地址:<el-link :href="documentDetail?.meta?.source_url" target="_blank">{{
|
||||
documentDetail?.meta?.source_url
|
||||
}}</el-link
|
||||
>(文档地址:<el-link :href="documentDetail?.meta?.source_url" target="_blank">
|
||||
<span class="break-all">{{ documentDetail?.meta?.source_url }} </span></el-link
|
||||
>)
|
||||
</el-text>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue