Skip to content

Commit e5e2ece

Browse files
authored
perf: 对话日志摘要样式优化 (#315)
1 parent 62c959f commit e5e2ece

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ui/src/views/log/component/ChatRecordDrawer.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<el-drawer v-model="visible" size="60%" @close="closeHandle" class="chat-record-drawer">
33
<template #header>
4-
<h4>{{ currentAbstract }}</h4>
4+
<h4 class="single-line">{{ currentAbstract }}</h4>
55
</template>
66
<div
77
v-loading="paginationConfig.current_page === 1 && loading"
@@ -120,6 +120,11 @@ defineExpose({
120120
})
121121
</script>
122122
<style lang="scss">
123+
.single-line {
124+
white-space: nowrap;
125+
overflow: hidden;
126+
text-overflow: ellipsis;
127+
}
123128
.chat-record-drawer {
124129
.el-drawer__body {
125130
background: var(--app-layout-bg-color);

0 commit comments

Comments
 (0)