.monthItemName {
// background-color: #f1dada;
width: 215rpx;
padding: 15rpx 0rpx 0rpx;
letter-spacing: 4rpx;
line-height: 40rpx;
overflow: hidden;
-webkit-line-clamp: 2;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
// display: inline-block;
white-space: pre-wrap;
word-wrap: break-word;
height: auto;
}
uni字体强制换行 超出显示省略号
最新推荐文章于 2024-05-29 15:56:25 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)