Commit 9617ea8e7c5d84d10847154e28d33ed07ad3c4af
Merge branch 'perf/data-board-component-name-too-large' into 'main_dev'
fix: 组件名称过长,超出隐藏 See merge request yunteng/thingskit-front!810
Showing
1 changed file
with
4 additions
and
2 deletions
@@ -152,8 +152,10 @@ | @@ -152,8 +152,10 @@ | ||
152 | <section class="p-5 flex flex-col w-full"> | 152 | <section class="p-5 flex flex-col w-full"> |
153 | <main class="flex w-full h-full h-7"> | 153 | <main class="flex w-full h-full h-7"> |
154 | <Tooltip :title="sourceInfo.name"> | 154 | <Tooltip :title="sourceInfo.name"> |
155 | - <div class="flex-1 w-full h-full flex text-lg justify-center font-semibold"> | ||
156 | - {{ sourceInfo.name }} | 155 | + <div class="flex-1 w-full h-full flex text-lg justify-center font-semibold truncate"> |
156 | + <div class="w-full truncate text-center"> | ||
157 | + {{ sourceInfo.name }} | ||
158 | + </div> | ||
157 | </div> | 159 | </div> |
158 | </Tooltip> | 160 | </Tooltip> |
159 | 161 |