Commit cd633e3119caed1f56b1744ba0d93fa00bf265e7

Authored by ww
1 parent 36eca1e4

fix: configuration center wrong layout will component name too long

... ... @@ -163,7 +163,7 @@
163 163 <template>
164 164 <PageWrapper dense contentFullHeight contentClass="flex">
165 165 <OrganizationIdTree @select="handleSelect" ref="organizationIdTreeRef" />
166   - <section class="flex-auto p-4 configuration-list">
  166 + <section class="flex-auto p-4 w-full configuration-list">
167 167 <div class="flex-auto w-full bg-light-50 dark:bg-dark-900 p-4">
168 168 <BasicForm @register="registerForm" />
169 169 </div>
... ... @@ -248,7 +248,10 @@
248 248 <EllipsisOutlined key="ellipsis" />
249 249 </Dropdown>
250 250 </template>
251   - <Card.Meta :title="item.name">
  251 + <Card.Meta>
  252 + <template #title>
  253 + <span class="truncate">{{ item.name }}</span>
  254 + </template>
252 255 <template #description>
253 256 <div class="truncate h-11">
254 257 <div class="truncate">{{ item.organizationDTO.name }}</div>
... ...