.order-info-title { text-overflow: ellipsis !important; white-space: nowrap !important; overflow: hidden !important; display: block !important; }
如果需要换行就可以加入如下代码:
white-space: normal;到item-title这个类的div下
.order-info-title { text-overflow: ellipsis !important; white-space: nowrap !important; overflow: hidden !important; display: block !important; }
如果需要换行就可以加入如下代码:
white-space: normal;到item-title这个类的div下
转载于:https://www.cnblogs.com/llcdbk/p/9969672.html