Skip to content

Commit 81808f1

Browse files
fix: Style optimization
1 parent 1aeabc4 commit 81808f1

6 files changed

Lines changed: 9 additions & 22 deletions

File tree

ui/src/components/folder-tree/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
clearable
99
/>
1010
<el-dropdown trigger="click" :teleported="false" @command="switchSortMethod">
11-
<el-button class="ml-4">
11+
<el-button class="ml-8" style="width: 32px;">
1212
<AppIcon :iconName="sortIconName"></AppIcon>
1313
</el-button>
1414
<template #dropdown>

ui/src/styles/element-plus.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
--el-text-color-primary-rgb: 31, 35, 41;
66
--el-border-radius-base: 6px;
77
--el-menu-item-height: 45px;
8-
--el-border-color: #DEE0E3;
8+
--el-border-color: #dee0e3;
99
}
1010

1111
.el-avatar {
@@ -238,6 +238,7 @@
238238
right: 8px;
239239
.el-dialog__close {
240240
font-size: 20px;
241+
color: var(--app-text-color-secondary);
241242
}
242243
}
243244

ui/src/views/application/index.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,7 @@
354354
{{ $t('common.delete') }}
355355
</el-button>
356356
<span class="color-secondary ml-24 mr-16">
357-
{{ $t('common.selected') }} {{ multipleSelection.length }}
358-
{{ $t('views.document.items') }}
359-
</span>
360-
<span class="color-secondary mr-16">
361-
{{ $t('common.total') }} {{ paginationConfig.total }}
357+
{{ $t('common.selected') }} {{ multipleSelection.length }} / {{ paginationConfig.total }}
362358
{{ $t('views.document.items') }}
363359
</span>
364360
<el-button link type="primary" @click="batchSelectedHandle(false)">

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,13 +394,10 @@
394394
{{ $t('common.delete') }}
395395
</el-button>
396396
<span class="color-secondary ml-24 mr-16">
397-
{{ $t('common.selected') }} {{ multipleSelection.length }}
398-
{{ $t('views.document.items') }}
399-
</span>
400-
<span class="color-secondary mr-16">
401-
{{ $t('common.total') }} {{ paginationConfig.total }}
397+
{{ $t('common.selected') }} {{ multipleSelection.length }}/{{ paginationConfig.total }}
402398
{{ $t('views.document.items') }}
403399
</span>
400+
404401
<el-button link type="primary" @click="batchSelectedHandle(false)">
405402
{{ $t('views.paragraph.setting.cancelSelected') }}
406403
</el-button>

ui/src/views/paragraph/index.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,10 @@
185185
{{ $t('common.delete') }}
186186
</el-button>
187187
<span class="color-secondary ml-24 mr-16">
188-
{{ $t('common.selected') }} {{ multipleSelection.length }}
189-
{{ $t('views.document.items') }}
190-
</span>
191-
<span class="color-secondary mr-16">
192-
{{ $t('common.total') }} {{ paginationConfig.total }}
188+
{{ $t('common.selected') }} {{ multipleSelection.length }}/{{ paginationConfig.total }}
193189
{{ $t('views.document.items') }}
194190
</span>
191+
195192
<el-button link type="primary" @click="batchSelectedHandle(false)">
196193
{{ $t('views.paragraph.setting.cancelSelected') }}
197194
</el-button>

ui/src/views/tool/component/ToolListContainer.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -438,11 +438,7 @@
438438
{{ $t('common.delete') }}
439439
</el-button>
440440
<span class="color-secondary ml-24 mr-16">
441-
{{ $t('common.selected') }} {{ multipleSelection.length }}
442-
{{ $t('views.document.items') }}
443-
</span>
444-
<span class="color-secondary mr-16">
445-
{{ $t('common.total') }} {{ paginationConfig.total }}
441+
{{ $t('common.selected') }} {{ multipleSelection.length }}/{{ paginationConfig.total }}
446442
{{ $t('views.document.items') }}
447443
</span>
448444
<el-button link type="primary" @click="batchSelectedHandle(false)">

0 commit comments

Comments
 (0)