fix(个人中心): 内容过长导致看不到编辑按钮

--bug=1037353 --user=王旭 【个人中心】APIKEY-设置-添加描述信息-只能输入39个字符 https://www.tapd.cn/55049933/s/1500985
This commit is contained in:
WangXu10 2024-04-18 15:41:54 +08:00 committed by 刘瑞斌
parent 2dfb83388c
commit 008817403b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
></a-textarea> ></a-textarea>
<div v-else class="desc-line api-item-value"> <div v-else class="desc-line api-item-value">
<a-tooltip :content="item.description" :disabled="!item.description"> <a-tooltip :content="item.description" :disabled="!item.description">
<div class="one-line-text">{{ item.description || '-' }}</div> <div class="one-line-text w-[300px]">{{ item.description || '-' }}</div>
</a-tooltip> </a-tooltip>
<MsIcon type="icon-icon_edit_outlined" class="edit-icon" @click="handleEditClick(item)" /> <MsIcon type="icon-icon_edit_outlined" class="edit-icon" @click="handleEditClick(item)" />
</div> </div>