fix(测试跟踪): 关联需求名称过长显示问题

--bug=1023717 --user=宋昌昌 【测试跟踪】功能用例-编辑-关联需求名称过长显示问题 https://www.tapd.cn/55049933/s/1341590
This commit is contained in:
song-cc-rock 2023-02-22 22:48:04 +08:00
parent 0809c5ff19
commit 609a0415a3
1 changed files with 9 additions and 1 deletions

View File

@ -74,7 +74,9 @@
>
<div class="story-box">
<div class="platform">{{ getStoryPlatform() }}</div>
<div class="story-label">{{ getStoryLabel() }}</div>
<el-tooltip :content="getStoryLabel()" placement="top" effect="dark">
<div class="story-label text-ellipsis">{{ getStoryLabel() }}</div>
</el-tooltip>
</div>
</div>
<div
@ -461,6 +463,12 @@ export default {
line-height: 22px;
color: #1f2329;
}
.text-ellipsis {
text-overflow: ellipsis;
overflow-x: hidden;
white-space: nowrap;
max-width: 190px;
}
}
}
.tag-wrap {