NEZ-2772 style: project topology 中 module info 展示异常

This commit is contained in:
zhangyu
2023-04-14 14:01:06 +08:00
parent b0f6ca076b
commit eb7e63a212
2 changed files with 6 additions and 1 deletions

View File

@@ -143,6 +143,7 @@
width: 120px;
display: inline-block;
padding: 3px 0;
vertical-align: middle;
}
.content-text {
width: 175px;
@@ -150,6 +151,10 @@
font-size: 12px;
display: inline-block;
padding: 3px 5px;
vertical-align: middle;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap
}
.module-type {
border: 1px solid #DCDCDC;

View File

@@ -38,7 +38,7 @@
</div>
<div class="content-box">
<span class="content-title">{{ $t('overall.remark') }}</span>
<span class="content-text">{{moduleInfo.remark?moduleInfo.remark:'--'}}</span>
<span class="content-text" :title="moduleInfo.remark?moduleInfo.remark:'--'">{{moduleInfo.remark?moduleInfo.remark:'--'}}</span>
</div>
</div>
</div>