BUG修改 标题过长导致右边样式不统一

This commit is contained in:
a0049873 2022-07-26 10:54:19 +08:00
parent 15a3236516
commit fe5b5e1102
1 changed files with 30 additions and 14 deletions

View File

@ -108,20 +108,23 @@
>
<template #title>
<div>
<span
@click="
showItem(
item.resourceId,
item.type,
item.delFlag,
item.note1
)
"
style="cursor: pointer"
class="name"
>
{{ item.resourceName }}
</span>
<a-tooltip>
<template #title>{{ item.resourceName }}</template>
<span
@click="
showItem(
item.resourceId,
item.type,
item.delFlag,
item.note1
)
"
style="cursor: pointer"
class="name"
>
{{ item.resourceName }}
</span>
</a-tooltip>
<span class="type">{{ item.type }}</span>
</div>
<span class="time">
@ -973,6 +976,14 @@
color: #0087ff;
}
}
.name {
max-width: 4.15rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
word-break: break-all;
}
.name:hover {
color: #0087ff;
}
@ -1048,5 +1059,10 @@
:deep(.ant-list-item-meta-title) {
display: flex;
justify-content: space-between;
align-items: center;
div {
display: flex;
align-items: center;
}
}
</style>