Skip to content

Commit 37cc4e2

Browse files
authored
perf: console tag UI improve (#3816)
- Added yarn.lock to .gitignore to prevent tracking of Yarn lock files. - Updated ConsoleDisplayer.vue to improve chip styling
1 parent 60dfdd0 commit 37cc4e2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ dashboard/node_modules/
3434
dashboard/dist/
3535
package-lock.json
3636
package.json
37+
yarn.lock
3738

3839
# Operating System
3940
**/.DS_Store

dashboard/src/components/shared/ConsoleDisplayer.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { useCommonStore } from '@/stores/common';
77
<!-- 添加筛选级别控件 -->
88
<div class="filter-controls mb-2" v-if="showLevelBtns">
99
<v-chip-group v-model="selectedLevels" column multiple>
10-
<v-chip v-for="level in logLevels" :key="level" :color="getLevelColor(level)" filter
11-
:text-color="level === 'DEBUG' || level === 'INFO' ? 'black' : 'white'">
10+
<v-chip v-for="level in logLevels" :key="level" :color="getLevelColor(level)" filter variant="flat" size="small"
11+
:text-color="level === 'DEBUG' || level === 'INFO' ? 'black' : 'white'" class="font-weight-medium">
1212
{{ level }}
1313
</v-chip>
1414
</v-chip-group>
@@ -168,6 +168,7 @@ export default {
168168
flex-wrap: wrap;
169169
gap: 8px;
170170
margin-bottom: 8px;
171+
margin-left: 20px;
171172
}
172173
173174
.fade-in {

0 commit comments

Comments
 (0)