当前检测项目过长
This commit is contained in:
@@ -106,13 +106,15 @@
|
||||
|
||||
<div class="content-right">
|
||||
<div class="content-right-title">
|
||||
<div style="width: 840px">
|
||||
<div class="content-right-title-main">
|
||||
<span class="content-right-title-text">
|
||||
当前检测项目:
|
||||
<el-popover trigger="hover" :content="currentDesc" width="500px" placement="right">
|
||||
<template #reference>
|
||||
<el-button type="text" style="font-size: 14px">
|
||||
{{ currentScriptTypeName }}
|
||||
<el-button type="text" class="current-script-type-name">
|
||||
<span class="current-script-type-name-text" :title="currentScriptTypeName">
|
||||
{{ currentScriptTypeName }}
|
||||
</span>
|
||||
</el-button>
|
||||
</template>
|
||||
</el-popover>
|
||||
@@ -884,13 +886,37 @@ defineExpose({
|
||||
|
||||
.content-right-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px 0;
|
||||
margin-top: 10px;
|
||||
line-height: 1.5;
|
||||
|
||||
.content-right-title-main {
|
||||
width: 840px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.content-right-title-text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
|
||||
.current-script-type-name {
|
||||
max-width: 660px;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.current-script-type-name-text {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -927,4 +953,4 @@ defineExpose({
|
||||
<!-- background-color: var(--el-color-primary) !important;-->
|
||||
<!-- }-->
|
||||
<!--}-->
|
||||
<!--</style>-->
|
||||
<!--</style>-->
|
||||
|
||||
Reference in New Issue
Block a user