Merge pull request #9552 from dataease/pr@dev@refactor_drill_path_style

refactor(视图): 钻取路径长度限制为120px
This commit is contained in:
wisonic-s 2024-05-09 11:36:27 +08:00 committed by GitHub
commit a48fe522be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,7 @@
@click.native="drillJump(index + 1)"
>
<span
class="drill-label"
:style="{'color': textColor}"
:title="filter.value[0]"
>{{ filter.value[0] }}</span>
@ -100,8 +101,12 @@ export default {
margin: 0!important;
}
.drill-item{
max-width: 120px;
overflow: hidden;
cursor: pointer;
}
.drill-label {
display: inline-block;
max-width: 120px;
white-space: nowrap;
overflow: hidden;
}
</style>