::v-deep .info-name {
max-width: 80% !important;
text-overflow: ellipsis !important;
overflow: hidden !important;
white-space: nowrap !important;
}
::v-deep .ranking-value {
padding: 0 0.15rem;
}
<div
class="item lw-dv-diy"
style="
width: 3.89rem;
height: 2.8rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
"
>
<p>考勤排行榜</p>
<dv-scroll-ranking-board
:config="configList"
style="width: 98%; height: 100%; margin-top: 2%"
/>
</div>