Skip to content

Commit 81d8637

Browse files
committed
fix: bug fix
1 parent 08e2ede commit 81d8637

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/components/layout/Person.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const logout = () => {
7575
<template #reference>
7676
<button class="person" :class="collapse && 'collapse'">
7777
<img class="default-avatar" :src="Default_avatar" width="32px" height="32px" />
78-
<span v-if="!collapse" class="name">{{ name }}</span>
78+
<span v-if="!collapse" class="name ellipsis" :title="name">{{ name }}</span>
7979
</button></template
8080
>
8181
<div class="popover">
@@ -184,6 +184,7 @@ const logout = () => {
184184
font-size: 14px;
185185
line-height: 22px;
186186
margin-left: 8px;
187+
max-width: 85px;
187188
}
188189
189190
&::after {

0 commit comments

Comments
 (0)