Commit dc4b114263354df91f83db13aaa82a7d456a82df
1 parent
84d019c3
perf: data component component name add text overfolw ellipsis
Showing
1 changed file
with
3 additions
and
1 deletions
... | ... | @@ -56,7 +56,9 @@ |
56 | 56 | |
57 | 57 | <template> |
58 | 58 | <div> |
59 | - <div class="text-center pt-5 px-5 pb-3 font-bold text-lg">{{ props.panelName || '' }}</div> | |
59 | + <div class="text-center pt-5 px-5 pb-3 font-bold text-lg truncate"> | |
60 | + {{ props.panelName || '' }} | |
61 | + </div> | |
60 | 62 | <div class="flex justify-between w-full px-5 pb-5"> |
61 | 63 | <div class="flex" :style="{ width: `calc(100% - 60px)` }"> |
62 | 64 | <div | ... | ... |