NEZ-1025 fx: panel name超长 限制 最大宽度
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-slot:trigger>
|
<template v-slot:trigger>
|
||||||
<i style="color: #BEBEBE" class="el-icon-menu"></i>
|
<i style="color: #BEBEBE" class="el-icon-menu"></i>
|
||||||
<span style="display: inline-block;padding: 0 7px;font-weight: bold">{{showPanel.name}}</span>
|
<span :title="showPanel.name" class="show-panel-name">{{showPanel.name}}</span>
|
||||||
<i style="font-size: 12px;color: #BEBEBE;" class="nz-icon nz-icon-arrow-down"></i>
|
<i style="font-size: 12px;color: #BEBEBE;" class="nz-icon nz-icon-arrow-down"></i>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:tail>
|
<template v-slot:tail>
|
||||||
@@ -953,4 +953,14 @@ export default {
|
|||||||
background: center center no-repeat #fff;
|
background: center center no-repeat #fff;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
.show-panel-name{
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0 7px;
|
||||||
|
font-weight: bold;
|
||||||
|
max-width: 310px;
|
||||||
|
overflow:hidden;
|
||||||
|
text-overflow:ellipsis;
|
||||||
|
white-space:nowrap;
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user