Skip to content

Commit e5f02bd

Browse files
committed
fix: bug fix
1 parent de46e6d commit e5f02bd

File tree

1 file changed

+2
-1
lines changed
  • frontend/src/views/system/permission

1 file changed

+2
-1
lines changed

frontend/src/views/system/permission/Card.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const setUser = () => {
4141
<div class="card">
4242
<div class="name-icon">
4343
<img :src="Lock" width="32px" height="32px" />
44-
<span class="name">{{ name }}</span>
44+
<span class="name ellipsis" :title="name">{{ name }}</span>
4545
</div>
4646
<div class="type-value">
4747
<span class="type">{{ $t('permission.permission_rule') }}</span>
@@ -95,6 +95,7 @@ const setUser = () => {
9595
font-weight: 500;
9696
font-size: 16px;
9797
line-height: 24px;
98+
max-width: 250px;
9899
}
99100
}
100101

0 commit comments

Comments
 (0)