Skip to content

Commit 0750046

Browse files
committed
fix: bug fix
1 parent 152c3c6 commit 0750046

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/views/system/embedded/DsCard.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const handlePublic = () => {
4646
<div class="name-icon">
4747
<img :src="icon" width="32px" height="32px" />
4848
<div class="info">
49-
<div class="name">{{ name }}</div>
49+
<div class="name ellipsis" :title="name">{{ name }}</div>
5050
<div class="type">{{ typeName }}</div>
5151
</div>
5252
<span class="default" :class="isPrivate && 'is-private'">{{
@@ -106,6 +106,7 @@ const handlePublic = () => {
106106
font-weight: 500;
107107
font-size: 16px;
108108
line-height: 24px;
109+
max-width: 250px;
109110
}
110111
.type {
111112
font-weight: 400;

0 commit comments

Comments
 (0)