Skip to content

Commit b0560e3

Browse files
perf: style
1 parent 5d8fc60 commit b0560e3

File tree

3 files changed

+20
-23
lines changed

3 files changed

+20
-23
lines changed

ui/src/styles/component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
.el-input__inner {
1515
height: 28px !important;
1616
}
17+
.el-select__input {
18+
height: 22px !important;
19+
}
20+
1721
&__left {
1822
border-right: 1px solid var(--el-border-color);
1923
.el-select__wrapper {

ui/src/views/knowledge/component/KnowledgeListContainer.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<el-select
1010
class="complex-search__left"
1111
v-model="search_type"
12-
style="width: 120px"
12+
style="width: 90px"
1313
@change="search_type_change"
1414
>
1515
<el-option :label="$t('common.creator')" value="create_user" />
@@ -21,7 +21,7 @@
2121
v-model="search_form.name"
2222
@change="searchHandle"
2323
:placeholder="$t('common.searchBar.placeholder')"
24-
style="width: 220px"
24+
style="width: 190px"
2525
clearable
2626
/>
2727
<el-select
@@ -30,7 +30,7 @@
3030
@change="searchHandle"
3131
filterable
3232
clearable
33-
style="width: 220px"
33+
style="width: 190px"
3434
>
3535
<el-option v-for="u in user_options" :key="u.id" :value="u.id" :label="u.nick_name" />
3636
</el-select>

ui/src/views/tool-workflow/debug-drawer/ResultDrawer.vue

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,19 @@
2525
<div class="scrollbar-height">
2626
<h4 class="title-decoration-1 mb-16 mt-8">回复内容</h4>
2727

28-
<el-scrollbar>
29-
<div style="max-height: 400px">
30-
<el-card :class="isSuccess ? '' : 'color-danger'" class="pre-wrap" shadow="never">
31-
<AnswerContent
32-
:application="details"
33-
:loading="loading"
34-
v-model:chat-record="currentChat"
35-
type="ai-chat"
36-
:send-message="sendMessage"
37-
:chat-management="ChatManagement"
38-
:executionIsRightPanel="false"
39-
@open-execution-detail="() => {}"
40-
@openParagraph="() => {}"
41-
@openParagraphDocument="() => {}"
42-
:selection="true"
43-
></AnswerContent>
44-
</el-card>
45-
</div>
46-
</el-scrollbar>
47-
28+
<AnswerContent
29+
:application="details"
30+
:loading="loading"
31+
v-model:chat-record="currentChat"
32+
type="ai-chat"
33+
:send-message="sendMessage"
34+
:chat-management="ChatManagement"
35+
:executionIsRightPanel="false"
36+
@open-execution-detail="() => {}"
37+
@openParagraph="() => {}"
38+
@openParagraphDocument="() => {}"
39+
:selection="true"
40+
></AnswerContent>
4841
<div v-if="toolRecord">
4942
<h4 class="title-decoration-1 mb-16 mt-16">输出参数</h4>
5043
<div class="mb-16" v-if="isSuccess !== undefined">

0 commit comments

Comments
 (0)