Commit c18e5e4d authored by 俞嘉婷's avatar 俞嘉婷

1

parent 00c504e4
...@@ -10,3 +10,11 @@ ...@@ -10,3 +10,11 @@
padding: 200rpx 0; padding: 200rpx 0;
box-sizing: border-box; box-sizing: border-box;
} }
/* 文本过长隐藏文字并显示省略号*/
// 多行显示省略号
.lineClamp1 {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment